1. Home
  2. Data Science
  3. SQL for Data Analysis
  4. What does a LEFT JOIN produce for a left row with no match?

Added 30 Nov -0001

What does a LEFT JOIN produce for a left row with no match?

  1. The right row with NULLs on the left
  2. Nothing; the row is dropped
  3. The left row with NULLs on the right Correct answer
  4. Only rows that found a match

Correct answer

C. The left row with NULLs on the right

14 views

MCQSEXAM

Explanation

A LEFT JOIN preserves every left row and pads the missing right-hand columns with NULL.

Reference

Asked in: NTS, PPSC IT, Interviews

Preparing for an exam?

Doubts & discussion

Not sure why the answer is C? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More SQL for Data Analysis MCQs

Practise all SQL for Data Analysis MCQs

Similar MCQs