1SELECT supplier_id, supplier_name
2FROM suppliers
3WHERE supplier_id <= 500
4UNION
5SELECT company_id, company_name
6FROM companies
7WHERE company_name = 'Apple'
8ORDER BY 2;
1SELECT expression1, expression2, ... expression_n
2FROM tables
3[WHERE conditions]
4UNION ALL
5SELECT expression1, expression2, ... expression_n
6FROM tables
7[WHERE conditions];
1
2 SELECT City FROM Customers
3UNION ALL
4SELECT City FROM Suppliers
5
6 ORDER BY City;
7