- Published on
Hackerrank - Revising Aggregations - The Sum Function solution
- Authors
- Name
- Imran Pollob
- Website
- @pollmix
Solution one:
SELECT SUM(POPULATION) FROM CITY WHERE DISTRICT = "CALIFORNIA";
SELECT SUM(POPULATION) FROM CITY WHERE DISTRICT = "CALIFORNIA";