How many rows would be returned from a cross join of tables A and B if A contains 10 rows and B contains 20 rows?
-
A
10
-
B
20
-
C
30
-
D
200
Correct answer
14 views
Explanation
A cross join returns the Cartesian product: 10 × 20 = 200 rows. Source: Pasos, SQL Joins MCQs, Q19.
Reference
Asked in: FPSC,CSS,NTS,PPSC,PMS
Doubts & discussion
Not sure why the answer is D? Ask here and get an explanation.
Ask a doubt about this MCQ