Algorithm/MySQL
[해커랭크(Hacker Rank)]Average Population (MySQL)
yujin.me
2021. 6. 30. 15:04
문제
Query the average population for all cities in CITY, rounded down to the nearest integer.
Input Format
The CITY table is described as follows:
코드
SELECT ROUND(AVG(population),0)
FROM city
출처
반응형