데이터 분석/[SQL] 기초
[HackerRank] Average population of each continent
INCHELIN
2022. 3. 30. 13:41
728x90
MySQL
select country.continent, floor(avg(city.population))
from city
join country on city.countrycode = country.code
group by country.continent
728x90