MySQL/Problem Solving
[HackerRank] Average Population of Each Continent
hanshow113
2022. 2. 6. 19:52
SELECT COUNTRY.Continent
, FLOOR(AVG(CITY.population))
FROM CITY
INNER JOIN COUNTRY ON CITY.CountryCode = COUNTRY.CODE
GROUP BY COUNTRY.Continent