← SQL Analyst StarterMy saved work →
Independent practice · SQLite
Attach names to every order
Your work
Active 0:00 · Paused 0sShow 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.