Music streaming service
Listeners, artists, tracks and every play, March to June 2025.
listeners
One row per listener account. Key: listener_id. 180 rows in the larger version, 70 in the smaller.
| listener_id | int | Unique id. |
| joined_on | date | Day they joined. |
| country | text | Two-letter country code. |
| plan | text | free, premium or family. |
artists
One row per artist. Key: artist_id. 30 rows in the larger version, 14 in the smaller.
| artist_id | int | Unique id. |
| artist_name | text | Name. |
| genre | text | pop, rock, hip-hop, electronic, jazz or folk. |
tracks
One row per track. Key: track_id. 116 rows in the larger version, 49 in the smaller.
| track_id | int | Unique id. |
| title | text | Track title. |
| artist_id | int | Main artist. |
| duration_seconds | int | Length. |
| released_on | date | Release day. |
plays
One row per play. Key: play_id. 6,555 rows in the larger version, 2,200 in the smaller.
| play_id | bigint | Unique id. |
| listener_id | int | Who listened. |
| track_id | int | What. |
| played_at | timestamp | Start time (UTC). |
| seconds_played | int | How long they listened. |
| device | text | phone, desktop, speaker or car. |
Questions on this database
- Plays, listeners and hours by genreThe content team wants one line of listening stats per genre. A play belongs to the genre of its track's artist.
- Artist catalog size and 2025 releasesThe label relations team wants a status line for every artist: how big the catalog is, and how much of it is new this year.
- Share of June plays by deviceProduct wants to know which devices people use for real listening in June 2025.
- Most played genre for each plan and deviceThe playlist team wants to know the most common genre for each kind of listening session.
- Plays in the first two weeks for April joinersThe growth team measures early engagement. Take every listener whose joined_on is in April 2025 (2025-04-01 to 2025-04-30 inclusive).
- Free and paid listeners per genreThe product team wants to know which genres reach people on the free plan and which reach paying people.
- Listeners who played both jazz and folkEditorial wants to build a crossover playlist and asks how many listeners already enjoy both worlds, by country.
- Tracks and plays per jazz artist without double countingThe label relations team reviews every artist whose genre is 'jazz'. For each one they want the size of the catalog and how much it is played.
- Genre of each listener's first playThe growth team wants to know which genre hooks new listeners.
- Listener quartiles by May listening timeThe product team wants to compare heavy and light listeners.
- Top two artists each month by listening timeThe editorial team picks two featured artists per month for the home screen.
- How far each artist climbed or fell from April to MayThe charts team publishes a monthly artist ranking and wants to show movement.
- Plays that were immediately replayedThe recommendations team wants to find tracks that listeners loved enough to play again straight away.
- Listeners whose first play was on a speakerThe devices team thinks smart speakers bring in a different kind of listener.
- Skip rate by genreThe content team wants to know which genres get skipped. A play is a skip when seconds_played is less than 30. A play of exactly 30 seconds is not a skip.
- Full-play rate by genreEditorial wants to know which genres hold a listener to the end of the track.
- Plays per device for each planThe product team wants to know which devices each subscription plan listens on. A counted play is a row in plays with seconds_played of at least 30.
- Listener device habits by planThe product team wants to know, for each plan, how many listeners are active and how widely they use their devices. Count listeners, not plays.
- Listens by hour of dayThe music team plans playlist drops around when people listen. Look at May 2025 (from 2025-05-01 00:00:00 up to, not including, 2025-06-01 00:00:00).
- Listener tenure in whole months by planThe retention team wants the average tenure of listeners on each plan, as of 2025-06-30. Tenure is the number of whole months between joined_on and 2025-06-30.
- Artist rank change from May to JuneEditorial publishes a "movers" list of artists whose chart position changed between May and June 2025.
- Listeners who played no jazz in JuneThe playlist team is building a jazz win-back campaign. It targets listeners who did not play any jazz in June 2025.
- Listeners who came back after a gapThe retention team wants to find listeners who drift away and then return.
- Listening sessions split by a 30-minute gapThe product team defines a listening session from play timestamps alone.
- Median listen length, continuous and discreteThe audio team reports a median listen length per device and wants to see how much the choice of percentile function matters.