SQL - Set Operations
You have two tables:
Write a query to list all order_ids from both tables including duplicates using
Orders(order_id, customer_id)Returns(order_id, customer_id)Write a query to list all order_ids from both tables including duplicates using
UNION ALL. Which query is correct?