https://www.hackerrank.com/challenges/revising-aggregations-the-count-function
SELECT COUNT(name)
FROM city
WHERE population > 100000
https://www.hackerrank.com/challenges/revising-aggregations-sum
SELECT SUM(population)
FROM city
WHERE district = 'California'
https://www.hackerrank.com/challenges/revising-aggregations-the-average-function
SELECT AVG(population)
FROM city
WHERE district = 'California'
AVERAGE( ) 라는 함수는 SQL도 python에도 없다..!
https://www.hackerrank.com/challenges/average-population
SELECT FLOOR(AVG(population))
FROM city
소수점 처리
CEIL( ) : 올림, FLOOR( ) : 내림
https://www.hackerrank.com/challenges/japan-population
SELECT SUM(population)
FROM city
WHERE countrycode = 'JPN'
https://www.hackerrank.com/challenges/population-density-difference
SELECT MAX(population) - MIN(population)
FROM city