Average Population of Each Continent

  • + 2 comments
    SELECT
        COUNTRY.Continent,
        FLOOR(AVG(CITY.Population))
    FROM
        CITY
    INNER JOIN
        COUNTRY
    ON
        CITY.CountryCode = COUNTRY.Code
    GROUP BY
        COUNTRY.Continent;