Average Population of Each Continent

  • + 0 comments

    mysql

    SELECT continent, FLOOR(AVG(city.population)) FROM city
    JOIN country ON city.countrycode = country.code
    GROUP BY continent