📞 0339-0387701 (WhatsApp) Contact

« Back to Computer

Which type of join returns all rows from both tables, matching rows from the left table, and NULL values for non-matching rows from the right table?

A. INNER JOIN
B. OUTER JOIN
C. LEFT JOIN ✅
D. None of these

Correct Answer: C. LEFT JOIN

Explanation

  • Left Join: Returns all rows from the left table and the matched rows from the right table.
  • If there is no match, the result is NULL on the side of the right table.
  • In SQL, the syntax for a left join would look like this: