Complete the code to combine two tables using UNION.
SELECT name FROM employees [1] SELECT name FROM managers;The UNION keyword combines the results of two SELECT statements into one result set.
Complete the code to combine two queries and remove duplicate rows.
SELECT city FROM customers [1] SELECT city FROM suppliers;UNION removes duplicate rows by default when combining result sets.
Fix the error in combining two SELECT statements to include all rows, even duplicates.
SELECT product FROM inventory [1] SELECT product FROM warehouse;UNION ALL combines result sets including duplicates, unlike UNION which removes them.
Fill both blanks to combine two queries and sort the combined results by city.
SELECT city FROM customers [1] SELECT city FROM suppliers [2] city ASC;
Use UNION to combine and ORDER BY to sort the results.
Fill all three blanks to combine two SELECT queries, include duplicates, and sort by name descending.
SELECT name FROM employees [1] SELECT name FROM contractors [2] name [3];
UNION ALL includes duplicates, ORDER BY sorts, and DESC sorts descending.
