Set Operations

UNION, UNION ALL, INTERSECT, EXCEPT and column compatibility.

2 notes

Notes

SQL

UNION and UNION ALL

Stacking two result sets on top of each other. Learn the column compatibility rules, why UNION ALL is faster, and where ORDER BY belongs.

Read more