1. Home
  2. Data Science
  3. SQL for Data Analysis
  4. A LEFT JOIN returns:

Added 30 Nov -0001

A LEFT JOIN returns:

  1. only the matching rows from both tables
  2. all rows of the right table only
  3. all rows of the left table plus matches from the right Correct answer
  4. the union of both tables with no duplicates kept

Correct answer

C. all rows of the left table plus matches from the right

14 views

MCQSEXAM

Explanation

Unmatched right-side columns appear as NULL in a LEFT JOIN.

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