
Listening sessions
hardSQL
Listening sessions
hardPremium
About this question
A hard SQL question from Spotify data analyst and business analyst interviews about grouping individual plays into listening sessions. It tests sessionization, window functions and time gap thresholds.
The full question, its data and the solution are part of Premium, along with every other question in the library.
- The full question and its datasets
- The editor with instant grading
- A worked solution and common mistakes
Free questions on sql
Practice the same ground now, at no cost.