There was an error while loading. Please reload this page.
UNION
Syntax:
SELECT ... UNION SELECT ... [ORDER BY ...]
You can use ORDER BY clause to sort the result of the UNION.
ORDER BY
SELECT * FROM table1 UNION SELECT * FROM table2 ORDER BY column1
See also: [UNION ALL](Union All), INTERSECT, EXCEPT, CORRESPONDING
Quick links
AlaSQL wiki frontpage
About AlaSQL
Install AlaSQL
Get started with AlaSQL