SQL · Joins and set operations

cross join

Every row of a paired with every row of b. Use it deliberately; it multiplies row counts.

Syntax
from a cross join b

Example

Open in the lab

More in this group

except full outer join inner join intersect left join right join self join union

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course