Easy · 5 min
Find the top 5 artists by count of song appearances in featured (is_featured = TRUE) playlists. Return artist_id, artist_name, song_count, and song_titles (comma-separated, alphabetical). Order by song_count descending (break ties alphabetically by artist name).
Tables: playlist_songs, songs, artists, playlists
Medium · 10 min
Calculate cumulative play count for each premium user by day in March 2026. Return user_id, stream_date, daily_play_count, and cumulative_play_count. Order by user_id, stream_date.
Tables: user_streams, users
Hard · 15 min
Find active premium subscribers who streamed songs from at least 15 different artists in the last 30 days (from March 29, 2026). Return user_id, subscription_status, artist_count, and total_minutes_streamed. Order by artist_count descending.
Tables: user_streams, songs, users