Loading...
Content Session Counts
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
The content team wants to understand which pages drive the most session engagement. For each page URL, count how many unique sessions viewed it (deduplicated per page). Show all pages with their unique session count, sorted from most viewed to least.
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.