What does left join mean?
In databases & SQL, left join means a join that returns all rows from the first (left) table and the matching rows from the second; where there is no match, the second table's columns are NULL.
Databases & SQL vocabulary · SQL Statements and Queries
In Turkish: sol birleştirme, left join, sol dış birleştirme
Also used in: Software Engineering
Type at least 2 characters to search all fields.
How it is used
Also written LEFT OUTER JOIN; the two mean the same. It is used to keep rows that have no partner, for example customers with no orders. A classic trick is LEFT JOIN ... WHERE right_table.id IS NULL to find rows with no match.
Example sentences
Use a left join so customers without any orders still appear in the list.
Putting a condition on the right table in the WHERE clause turns your left join into an inner join.
Common collocations
- left join on
- LEFT OUTER JOIN
- left join with IS NULL
- use a left join
Related terms
More terms: SQL Statements and Queries
Practise with graded reading
Reading at the right level is the fastest way to make new words stick. Pick free English books by level:
