Skip to main contentSkip to solution

With 'm' rows and 'n' columns, the cartesian product of the two relations will be:

Solution

✅ Correct Option: 2

The Cartesian product pairs every row of the first relation with every row of the second. If one relation has mm rows and the other has nn rows, the result has m×n=mnm \times n = \boxed{mn} rows.

Its columns are the columns of both relations put together, so the number of columns adds up instead.


Option 1: m+nm + n is the most rows a union of the two relations can have, not their Cartesian product.

Keyboard Shortcuts

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