Back to Editor

Solution: 13. Video Count by Privacy Status

Easy

Problem Detail:

Write a SQL query to count how many videos exist for each privacy_status.

Answer SQL Query:

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