Revising Aggregations - The Sum Function

Sort by

recency

|

485 Discussions

|

  • + 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';

  • + 0 comments

    select sum(city.population) from city where district='California';

  • + 0 comments

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