Advertisements
Advertisements
Question
In MYSQL database, if a table, Alpha has degree 5 and cardinality 3, and another table, Beta has degree 3 and cardinality 5, what will be the degree and cardinality of the Cartesian product of Alpha and Beta?
Options
5, 3
8, 15
3, 5
15, 8
MCQ
Advertisements
Solution
8, 15
Explanation:
In case of Cartesian product, Degree of resultant is D1 + D2, and Cardinality is C1 × C2.
shaalaa.com
Using Two Relations in Query
Is there an error in this question or solution?
