Bird
0
0

Which join type returns all rows from the left table and matching rows from the right table, including unmatched rows with NULLs?

easy📝 Conceptual Q2 of 15
SQL - Advanced Joins
Which join type returns all rows from the left table and matching rows from the right table, including unmatched rows with NULLs?
ALEFT JOIN
BINNER JOIN
CRIGHT JOIN
DFULL OUTER JOIN
Step-by-Step Solution
Solution:
  1. Step 1: Recall LEFT JOIN behavior

    LEFT JOIN returns all rows from the left table and matching rows from the right table; unmatched right rows show NULL.
  2. Step 2: Compare with other joins

    INNER JOIN returns only matching rows; RIGHT JOIN returns all right rows; FULL OUTER JOIN returns all rows from both tables.
  3. Final Answer:

    LEFT JOIN -> Option A
  4. Quick Check:

    LEFT JOIN returns all left rows + matches [OK]
Quick Trick: LEFT JOIN keeps all left table rows, fills NULL if no match [OK]
Common Mistakes:
MISTAKES
  • Mixing LEFT JOIN with INNER JOIN
  • Confusing RIGHT JOIN with LEFT JOIN
  • Assuming FULL OUTER JOIN behaves like LEFT JOIN

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More SQL Quizzes