Finding averages and totals
You are analyzing the film library to prepare for an executive summary report. You need to calculate the average and total film durations per year to understand how much content is available across the library and to help select a year that can be featured at an upcoming festival. This analysis will give executives a clear picture of both the scale and characteristics of the film catalog across different time periods.
This exercise is part of the course
Intermediate SQL with AI
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
SELECT release_year
FROM films;