Power Users by Session Activity
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
- L3
Interview Prompt
Marketing wants to feature power users in a case study. A power user is an active account holder with more than 3 sessions and over 100 total pages viewed across all of them. List each qualifying user's id, username, session count, and total pages viewed, with the heaviest users first.
Summary
More sessions. More time. The power users.
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