I\'m trying to sort by two different columns from two different tables. This is the situtation:
I have 1 table \'shops\' with a column called \'shopy\', an INT colu
SELECT shopy as y FROM shops UNION ALL SELECT y FROM infra ORDER BY y ASC
for Descending order write Order by y DESC.
Demo at http://sqlfiddle.com/#!2/62884/1