Aan de slagGa gratis aan de slag

Minimum and maximum

You're completing your executive report by adding duration ranges to provide full context for each year's content. After showing averages and totals, the minimum and maximum durations help executives understand the breadth of content available, whether a year offers diverse duration options or clusters around similar lengths.

Deze oefening maakt deel uit van de cursus

Intermediate SQL with AI

Cursus bekijken

Oefeninstructies

  • Create a prompt that shows, for each release year, the lowest and highest duration, and have the highest duration show first.

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

SELECT release_year
FROM films;
Code bewerken en uitvoeren