Skip to main contentSkip to solution

_________ results in all pairs of rows from the two input relations, regardless of whether they have the same values on common attributes.

Solution

✅ Correct Option: 2

The Cartesian product of two relations pairs every row of the first relation with every row of the second, without checking any attribute values. If the relations have mm and nn rows, the result has m×nm \times n rows.


Options 1, 3 and 4: INTERSECTION, UNION and MINUS are set operations that need union-compatible relations (same attributes). They compare whole rows, so they never form all possible pairs.

A join is the operation that keeps only the pairs with matching values on the common attributes. It is a Cartesian product followed by a selection.

Keyboard Shortcuts

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