섭섭의 공부/SQL
[HackerRank] Average Population of Each Continent
seobbseob
2021. 12. 2. 10:49
SELECT country.continent, FLOOR(AVG(city.population))
FROM city
INNER JOIN country ON city.countrycode = country.code
GROUP BY country.continent;
버림인지 반올림인지 잘 확인