Loading interview...
Activity Histogram
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
- junior
Interview Prompt
Given a user_sessions table, write a query to build a session count histogram. For each distinct number of sessions a user had, return how many users had exactly that count.
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