โ† SQL & Databases
#3 most askedVery commonEasyJoins

Customers Who Never Ordered

New to Joins? Learn it from scratch first
Combining Tables with JOIN โ†’
๐Ÿข Asked in real interviews
No reports yet. Were you asked this? Be the first to say where.
I was asked this

Tables customers(id, name, city, signup_date, referred_by) and orders(id, customer_id, order_date, status, amount).

Return the name of every customer who has never placed an order.

๐Ÿงช Practice

Write the query, then press Run tests to compare your rows with the expected result.

SQL
SELECT *
FROM customers;

Output appears here. Press Run or Ctrl/โŒ˜ + Enter.

Try it first. Struggling for a few minutes is how it sticks.