← SQL Analyst Starter

Independent practice · SQLite

Attach names to every order

My saved work →

Your work

Active 0:00 · Paused 0s

Show the reference answer
SELECT o.order_id, c.name FROM orders o LEFT JOIN customers c ON o.customer_id=c.customer_id

An inner join drops order 5 and order 6. Join on the ID.