๐Ÿ“Œ[SQL ๋ฌธ์ œ ํ’€์ด] HackerRank - Average Population of Each Continent

๋ชจ๊น…ยท2023๋…„ 11์›” 9์ผ
0

๐Ÿ’ป ๋ฌธ์ œ

โœ๏ธ ์ •๋‹ต

SELECT country.continent
     , FLOOR(AVG(city.population))
FROM city
     INNER JOIN country ON city.countrycode = country.code
GROUP BY country.continent
;
profile
๋ฉˆ์ถ”์ง€ ์•Š๊ธฐ

0๊ฐœ์˜ ๋Œ“๊ธ€