Back to Editor

Solution: 20. Average Views per Video

Easy

Problem Detail:

Write a SQL query to find the average view_count across all videos in video_stats.

Answer SQL Query:

SELECT AVG(view_count) AS avg_views_per_video
FROM video_stats;
You can easily copy this solution, switch back to your editor tab, paste it, and run the SQL!