Average Population

  • + 0 comments

    The answer accepted by test engine is: SELECT FLOOR(AVG(POPULATION)) FROM CITY. However, for this to be the answer the question shoud be "find the average population ACROSS all cities", NOT "FOR all cities". For implies at the city granularity, which would require a grouping at the city level.