UNION and UNION ALL
Key Requirements
UNION ALL
When to use it
-- Combining two similar tables
SELECT city, zip_code FROM east_coast_customers
UNION ALL
SELECT city, zip_code FROM west_coast_customers;UNION
When to use it
Comparison Table
Adding a "Source" Column
Last updated