Creating aggregations
This chapter uses data gathered by the National UFO Reporting Center. The data is contained in the Incidents table and in this lesson, you will be aggregating values in the DurationSeconds column.
Deze oefening maakt deel uit van de cursus
Intermediate SQL Server
Oefeninstructies
Write a T-SQL query which will return the average, minimum, and maximum values of the DurationSeconds column.
Praktische interactieve oefening
Probeer deze oefening eens door deze voorbeeldcode in te vullen.
-- Calculate the average, minimum and maximum
SELECT ___ AS Average,
___ AS Minimum,
___ AS Maximum
FROM Incidents