Loading...

Pages Viewed by Session Duration

A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.

Domain
SQL
Difficulty
medium
Seniority
junior, mid

Problem

Sessions are bucketed by their duration. For each bucket, show the number of sessions and the average pages viewed, ranked from highest average pages down.

Practice This Problem

Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a live PostgreSQL database and grades it instantly.