SQLQuokka
Start practicing
QuestionsLearnSandboxFeaturesRoadmapFAQ

Most Watched Title per Genre

Unsolved

Netflix's content strategy team wants to know which title dominates each genre in total viewing time. For every genre, find the title (or titles, if there is a tie) with the greatest total `minutes_watched` summed across all watch events. Only titles with at least one watch event are considered. Return `genre`, `title_name` and `total_minutes`. Order the results by `genre` ascending, then `title_name` ascending.

SQL Query Editor (Ctrl+Enter to run)
0 characters · Valid
Canonical Solution Official

Official Solution is Hidden

Try solving the question with the schema explorer and hints first. When ready, reveal the verified canonical query and step-by-step logic breakdown.

Community Q&A & Discussion

Ask questions, share alternate queries, and explore solutions

0 comments
Asked By:
🏢 Netflix🏢 Spotify🏢 Disney

Submission History

Your recent query executions and answer checks

Execution Pipeline:
FROM titles
Full source dataset
6 rows total
Ready. Type a query to see live execution.
Clause: Auto-Sync · AlaSQL Engine