UNION
will append two or more queries together
The queries are wrapped in parenthesis with the UNION keyword in the middle.
By default, UNION will not show duplicates
UNION ALL
INTERSECT
- Will give us the common results between two queries.
INTERSECT ALL
- Will give us the common results between two queries and show any duplicates as long as those duplicates exist in both results prior to intersection.
EXCEPT
- Finds the rows that exist in the first result set that DO NOT exist in the second result set.
EXCEPT ALL
- EXCEPT but does not remove duplicates.