Advertisement
Beginner SQL & Database Querying, SQL Joins

What is a left join?

Short answer

Returns all rows from left table and matches from right.

Save SQL & Database Querying mock interview
Advertisement
AModel answer
Returns all rows from left table and matches from right.
Example

All customers including no orders.

Real-world example
Joining customer and order tables allowed an analyst to measure repeat purchase rates.
Likely follow-ups
  • What are SQL joins
  • What is inner join
  • What is left join
Related topics