DataDrivenDataDriven
LearnPracticeInterviewDiscussDailyJobs

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

  1. Read the vague prompt (just like a real interview)
  2. Ask clarifying questions to the AI interviewer
  3. Write your sql solution with real code execution
  4. Get instant feedback and a hire/no-hire decision

Related

  • All Mock Interviews
  • Practice Mode (untimed)
  • SQL Interview Questions
  • Data Engineering Interview Prep Guide
  • Practice Problems
  • Daily Challenge