Problem Description

List customers who never placed any order. You can solve using LEFT JOIN + NULL check (or NOT EXISTS).

Input Format

SQL query

Output Format

Result set

Sample Test Case

Input:
Customers, Orders
Output:
Customer list

Constraints

Think: unmatched rows in LEFT JOIN have NULLs

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next