Average Population of Each Continent

  • + 0 comments
    select
        cnt.continent,
        round(avg(ct.population),0)
    from
        city ct
    join country cnt on cnt.code = ct.countrycode
    group by cnt.continent;