You are viewing a single comment's thread. Return to all comments →
From my HackerRank solutions.
SELECT COUNTRY.CONTINENT, FLOOR(AVG(CITY.POPULATION)) FROM CITY INNER JOIN COUNTRY ON CITY.COUNTRYCODE = COUNTRY.CODE GROUP BY COUNTRY.CONTINENT;
Let me know if you have any questions.
Seems like cookies are disabled on this browser, please enable them to open this website
Average Population of Each Continent
You are viewing a single comment's thread. Return to all comments →
MySQL solution
From my HackerRank solutions.
Let me know if you have any questions.