News

Read this SQL tutorial to learn when to use SELECT, JOIN, subselects and UNION to access multiple tables with a single statement.
So lets say I have 5 databases, all with the same schema, but different data. I want to be able to build reports based on the data in all of those databases. How could I construct a view which ...
I'm having a brain fart here... I have a feeling that I should be able to write a single query to handle this, but I just can't think of how... Basically, I have two tables: "distributors" and ...