Group and order fields
After reviewing your country analysis, the team is eager for more insights.
This time they want to understand production trends over time: which years produced the most films? Spotlighting the busiest years makes it easier to design festival themes around eras with the richest selection of films.
To ćwiczenie jest częścią kursu
Intermediate SQL Querying with AI
Instrukcje do ćwiczenia
- Write a prompt to find the top 5 years with the most films, listed from highest to lowest.
Interaktywne ćwiczenie praktyczne
Spróbuj tego ćwiczenia, uzupełniając ten przykładowy kod.
SELECT release_year
FROM films;