In Cartesian product operation the degree of the resulting relation is calculated as the _____ of the degrees of both the relations under consideration.
In Cartesian product operation the degree of the resulting relation is calculated as the _____ of the degrees of both the relations under consideration.
Solution
Degree of a relation is its number of attributes (columns). In a Cartesian product, every tuple of the first relation is joined with every tuple of the second, so each result tuple carries all the columns of both. The degree is therefore the sum of the two degrees.
For example, if has degree 3 and has degree 2, then has degree .
Option 2: the product applies to cardinality (number of tuples), not degree. If has 4 tuples and has 5, then has tuples.
Related questions:
2025: 13 May Shift 2
2025: 3 June Shift 2
2025: 14 May Shift 1
2025: 15 May Shift 2
2025: 22 May Shift 1
