Skip to content

All-Access: every lesson, no ads. $8.25€8.25US$8.25$4.08US$4.08$2.41US$2.41₹224.91MX$74.91 a month, billed yearly. Free to start. Cancel any time

See plans
All-Access, no ads: every lesson, course and template. $8.25€8.25US$8.25$4.08US$4.08$2.41US$2.41₹224.91MX$74.91 a month. + GST at checkoutSee the plans →

A <b>Left Join</b> keeps all rows from the first table (or "left" table) and shows results from the second table (or "right" table) only where there's a match. If there's no match, it shows null for the values in the joined row. Try typing:

Table cars

car_idmakemodelyear
1ToyotaCamry2020
2HondaCivic2019
3FordMustang2021
4TeslaModel 32022
5ChevroletImpala2018

Table owners

owner_idcar_idowner_name
11Alice
22Bob
34Carlos

LEFT JOIN - SQL Practice Online

Practise LEFT JOIN with 10 interactive SQL exercises. You type real queries into your browser and get instant feedback on every answer - no database setup and no install. It is a fast, hands-on way to learn SQL online and build query skills you can use at work.