Test Index

Structured Query Language (SQL) Get it on Google PlayDownload on the App Store CBSE Board Videos

© examsnet.com
Question : 19 of 58
Marks: +1, -0
State True or False :
If table A has 6 rows and 3 columns, and table B has 5 rows and 2 columns, the Cartesian product of A and B will have 30 rows and 5 columns.
[CBSE 2025 Set 4]
Solution:  
Concept:
In a Cartesian product, every row of A is combined with every row of B.
Rows (cardinality) = rows of A × rows of B
Columns (degree) = columns of A + columns of B
Explanation:
Rows = 6 × 5 = 30
Columns = 3 + 2 = 5
So the statement is True.
Key point: Rows multiply, columns add.
Answer:
Option A (True)
© examsnet.com
Advertisements
Go to Question: