Revising Aggregations - The Sum Function

Sort by

recency

|

474 Discussions

|

  • + 0 comments

    Query the total population of all cities in CITY where District is California.

  • + 1 comment

    select sum(population) from City where district ='California'; this code is correct .

  • + 0 comments

    SELECT SUM(Population) FROM CITY WHERE District = 'California';

  • + 0 comments

    SELECT SUM(POPULATION) FROM CITY WHERE DISTRICT = 'California';

  • + 0 comments

    SELECT SUM(POPULATION)

    FROM CITY

    WHERE DISTRICT = 'California';