SELECT shopy as y FROM shops
UNION ALL
SELECT y FROM infra
ORDER BY y ASC
per Ordine Decrescente scrivere Order by y DESC.
Demo su http://sqlfiddle.com/#!2/62884/1
SELECT shopy as y FROM shops
UNION ALL
SELECT y FROM infra
ORDER BY y ASC
per Ordine Decrescente scrivere Order by y DESC.
Demo su http://sqlfiddle.com/#!2/62884/1