Skip to main contentSkip to solution

What is the degree of the resulting table when performing a Cartesian product of two tables with degrees 3 and 4?

Solution

✅ Correct Option: 3

The degree of a table is its number of columns (attributes). A Cartesian product combines every row of one table with every row of the other, so each resulting row carries all the columns of both tables.

Degree of result = degree of first table + degree of second table

3+4=73 + 4 = \boxed{7}


Option 4: 12 is the product 3×43 \times 4, which is wrong for degree. It would be the cardinality (number of rows) if the tables had 3 and 4 rows.

Remember: degrees add, cardinalities multiply.

Keyboard Shortcuts

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