Customers Without Orders
A medium SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L4
Interview Prompt
We run an online store with a customers table and a transactions table, linked by customer id, which the transactions table stores as user_id. Find how many customers have never placed a transaction.
Summary
Customers who have never ordered.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your sql solution with real code execution
- Get instant feedback and a hire/no-hire decision