Power Users by Session Activity
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L3
Problem
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.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.