Skip to main contentSkip to solution

A Cartesian product is returned when:

Solution

✅ Correct Option: 3

A Cartesian product (cross join) pairs every row of the first table with every row of the second table. If the tables have mm and nn rows, the result has m×nm \times n rows. It occurs when no join condition (WHERE or ON clause) is given.


Options 1, 2 and 4: each involves "selected" rows, meaning a condition filters rows. That is a conditional join, not a Cartesian product.

A missing join condition in a multi-table query is a common accidental cause of a Cartesian product.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question