An INNER JOIN returns:
-
A
only rows present in the right-hand table
-
B
all rows of the left table only
-
C
only rows with matching values in both tables
Correct answer
-
D
all rows of both tables combined together
Correct answer
C. only rows with matching values in both tables
12 views
Explanation
INNER JOIN keeps rows where the join condition is satisfied in both tables.
Reference
Asked in: NTS, PPSC IT, Interviews
Doubts & discussion
Not sure why the answer is C? Ask here and get an explanation.
Ask a doubt about this MCQ