We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Revising Aggregations - The Sum Function
Revising Aggregations - The Sum Function
Sort by
recency
|
450 Discussions
|
Please Login in order to post a comment
for oracle
SELECT SUM(population) FROM city WHERE district = 'California';
SELECT SUM (POPULATION) FROM CITY WHERE DISTRICT = 'California' ;
For MySQL
select sum(population) from city where district="california";
For MySQL:
SELECT SUM(POPULATION) FROM CITY WHERE DISTRICT ='California';