SQL - Set Operations
You have two tables:
Write a query using UNION to list all unique products sold in both years, sorted alphabetically.
Sales2023(product, amount)
Apple, 100
Banana, 150Sales2024(product, amount)
Banana, 200
Cherry, 300Write a query using UNION to list all unique products sold in both years, sorted alphabetically.
