Snoopy [해커랭크/SQL] 25. Average Population
코딩테스트/해커랭크 SQL

[해커랭크/SQL] 25. Average Population

Sooyoon Jeong 2023. 3. 7.

 

🤔 문제 분석

1) Query the average population for all cities in CITY, rounded down to the nearest integer.

 

💡 풀이

SELECT ROUND(AVG(POPULATION), 0)
FROM CITY

 

댓글