The Engagement Curve
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant feedback.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L3
Problem
The product team is studying whether longer visits actually go deeper. Sort sessions into named duration buckets and, for each bucket, show how many sessions it holds and the average pages viewed, from the highest average down.
Summary
Longer sessions, more pages? Check.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and checks it automatically.