Search
⌘K

Leetcode 183. Customers Who Never Order

Given Customers and Orders tables, return the names of customers who never placed an order — i.e., customers with no matching customerId in Orders. This is a simple set-difference/anti-join query (e.g., LEFT JOIN ... IS NULL or NOT EXISTS).


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.