You are viewing a single comment's thread. Return to all comments →
SELECT floor(avg(city.population)), country.continent from city INNER JOIN country ON city.countrycode=country.code GROUP BY country.continent;
CAN YOU PLEASE TELL WHAT IS WRONG IN THIS? IT IS NOT WORKING IN MYSQL.
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 →
SELECT floor(avg(city.population)), country.continent from city INNER JOIN country ON city.countrycode=country.code GROUP BY country.continent;
CAN YOU PLEASE TELL WHAT IS WRONG IN THIS? IT IS NOT WORKING IN MYSQL.