[hackerrank] Prepare > SQL > Aggregation > Average Population
[문제]
Query the average population for all cities in CITY, rounded down to the nearest integer.
Input Format
The CITY table is described as follows:
[MYSQL]
[ORCALE]
select round(avg(population),0)
from city;
반응형
'HackerRank > SQL' 카테고리의 다른 글
[hackerrank] Population Density Difference (0) | 2022.08.24 |
---|---|
[hackerrank] Japan Population (0) | 2022.08.24 |
[hackerrank] Revising Aggregations - Averages (0) | 2022.08.24 |
[hackerrank] Revising Aggregations - The Sum Function (0) | 2022.08.24 |
[hackerrank] Weather Observation Station 20 (0) | 2022.08.22 |