Union ALL

suggest change

UNION ALL to select all (duplicate values also) cities from the “Customers” and “Suppliers” tables.

Query:

SELECT City FROM Customers
UNION ALL
SELECT City FROM Suppliers
ORDER BY City;

Result:

Number of Records: 12

City
-------
Aachen
Albuquerque
Anchorage
Ann Arbor
Annecy
Barcelona
Barquisimeto
Bend
Bergamo
Berlin
Berlin
Bern

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents