Average Population of Each Continent

  • + 0 comments

    Why wouldn't using LEFT JOIN work in this case?

    Select CTR.CONTINENT, FLOOR(AVG(C.POPULATION)) From CITY C LEFT JOIN COUNTRY CTR on C.COUNTRYCODE = CTR.CODE GROUP BY CTR.CONTINENT