Back to Editor

Solution: 26. Count Videos by Live Broadcast Content

Medium

Problem Detail:

Write a SQL query to count videos by live_broadcast_content.

Answer SQL Query:

SELECT live_broadcast_content, COUNT(*) AS total_videos
FROM videos
GROUP BY live_broadcast_content;
You can easily copy this solution, switch back to your editor tab, paste it, and run the SQL!