I have three databases named exayear2011, exayear2012, and exayear2013. They all have the same schema, but the data is different for each year.
I want to create a view that gets data from table1 in all three databases with UNION ALL. How would I do this?
