Algorithm/MySQL
[해커랭크(HackerRank)] Average Population (MySQL)
yujin.me
2021. 7. 4. 23:24
문제
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))
From City
- City 테이블에서 모든 도시의 평균 반올림 (정수와 가장 가까운 수)
출처
반응형