⏬Set Operations
UNION and UNION ALL keywords
UNION
SELECT columns FROM table1
UNION
SELECT columns FROM table2;UNION ALL
SELECT columns FROM table1
UNION ALL
SELECT columns FROM table2; Last updated
SELECT columns FROM table1
UNION
SELECT columns FROM table2;SELECT columns FROM table1
UNION ALL
SELECT columns FROM table2; Last updated
SELECT column1 FROM table1
INTERSECT
SELECT column1 FROM table2; SELECT column1 FROM table1
EXCEPT
SELECT column1 FROM table2;