What does a LEFT JOIN return?

SQL Fundamentals Easy

SQL Fundamentals — Easy

What does a LEFT JOIN return?

Key points

  • LEFT JOIN includes all rows from the left table
  • It also includes matching rows from the right table
  • NULLs are used for non-matching rows in the right table
  • Different from INNER JOIN, which only includes matching rows

Ready to go further?

Related questions