I looked around here and i can’t find an answer to this. It might be that I don’t know the right term to look for.
I have about 15 tables, all with the same columns and similar data. The only differences between them is date created.
I want to search some of them like this:
SELECT *
FROM table_2010, table_2011
WHERE date_created BETWEEN '2010-04-01' AND '2011-04-01'
ORDER BY date_created
But i don’t believe that will work because it will treat all my data as 2 tables, and create ambiguous fields 😛
Any suggestions? Is this a union job or something?!
1 Answer