(AVG
, MAX
, MIN
, SUM
)
◀ previous | next
SELECT SUM(budget)
FROM projects;
SELECT MAX(age)
FROM people
WHERE city = 'London';
SELECT MIN(release_year)
FROM albums
WHERE artist = 'Prince';
SELECT AVG(score)
FROM cartoons;
66 days of data (5/66)
https://campus.datacamp.com/courses/introduction-to-sql/aggregate-functions?ex=5
◀ previous | next