PostgreSQL - Set Operations and Advanced Queries
You have two queries:
1)
2)
You want to combine these queries to get all rows including duplicates. Which query achieves this?
1)
SELECT id, name FROM Employees WHERE department = 'HR'2)
SELECT id, name FROM Contractors WHERE department = 'HR'You want to combine these queries to get all rows including duplicates. Which query achieves this?
