Spotify wants to reward listeners who fully explored a curated playlist. For the playlist named `Road Trip Mix`, find every user who has listened to every track in that playlist at least once. Listening to tracks outside the playlist does not matter and must not be counted. Return the columns `user_id` and `total_listens`, where `total_listens` is the total number of listen events (including repeats) by that user on tracks of the `Road Trip Mix` playlist. Order the results by `user_id` ascending.
Loading…
Try solving the question with the schema explorer and hints first. When ready, reveal the verified canonical query and step-by-step logic breakdown.
Ask questions, share alternate queries, and explore solutions
Your recent query executions and answer checks
This will insert the verified MySQL solution into your editor so you can study how each clause transforms the table.