The Ones Who Return
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
- mid
Interview Prompt
Our member growth team wants one number for the quarterly retention review: how top-heavy the buying is, meaning the share of members who shop more often than the average customer. Counting every purchase as one order, give that share as a percentage of the whole member base.
Summary
One purchase is a trial. Two is a habit. Find how many members formed one.
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