Loading...
Peak Activity by Device
A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- easy
- Seniority
- senior, staff
Problem
For each device type, find the session time window (from session start to session start plus duration) with the highest number of concurrent users. Show device type, the time period as 'start to end', and user count.
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.