SQLQuokka
Start practicing
QuestionsLearnSandboxFeaturesRoadmapFAQ

YouTube: Breakout Videos Dominating Channels

Unsolved

YouTube Creator Analytics wants to detect individual 'breakout' videos that dominate their channel's traffic by accounting for at least 50.0% of the channel's total lifetime views. Write a SQL query returning the `channel_name`, video `title`, `views`, and `view_share_pct` (the video's views divided by the total views of all videos on that channel, multiplied by 100 and rounded to 2 decimal places). Order the results by `view_share_pct` in descending order, resolving ties by `channel_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:
🏢 Google

Submission History

Your recent query executions and answer checks

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