SQL - Set Operations
Consider two queries:
1)
2)
How would you combine these to get all active users sorted by
1)
SELECT id, name FROM table1 WHERE active = 12)
SELECT id, name FROM table2 WHERE active = 1How would you combine these to get all active users sorted by
name descending, including duplicates?