Everyone Counts
A easy SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- SQL
- Difficulty
- easy
- Seniority
- L3
Interview Prompt
The growth team is profiling the whole user base by age, and plenty of accounts still have no age on file. Show each age bucket that holds more than one user along with its user count, most populated first, and count the accounts with no bucket recorded as a segment of their own.
Summary
Every account lands in a segment, even the ones with nothing on file.
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