Your Library
Chapter 10 · Merging Query ResultsCombine compatible SELECT results with UNION and reason about intersections
Contents
Chapter 9

Merging Query Results

Combine compatible SELECT results with UNION and reason about intersections

Learn when to use UNION or UNION ALL, what makes two query results compatible, and how to express an intersection across SQL dialects.

In this chapter

  1. 9.1Merging Query Results