Average Population of Each Continent

  • + 1 comment

    SELECT FLOOR(AVG(CT.POPULATION)) , CR.CONTINENT FROM CITY CT JOIN COUNTRY CR ON CT.COUNTRYCODE = CR.CODE GROUP BY CR.CONTINENT ORDER BY CR.CONTINENT;

    I wrote this query I am unable to get the issue in the query as it is saying result is not correct