What does a LEFT JOIN produce for a left row with no match?
-
A
The right row with NULLs on the left
-
B
Nothing; the row is dropped
-
C
The left row with NULLs on the right
Correct answer
-
D
Only rows that found a match
Correct answer
C. The left row with NULLs on the right
14 views
Explanation
A LEFT JOIN preserves every left row and pads the missing right-hand columns with NULL.
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