The Shape of a Day
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
Capacity planning wants the shape of an average day: for each hour of the clock, how many API calls land in a typical day. Return every hour with that average daily call count, busiest first.
Summary
Traffic has a rhythm across the hours. Find where it runs busiest.
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