HackerRank-Aggregation-Revising Aggregations - The Sum Function
Revising Aggregations - The Sum Function
Query the total population of all cities in CITY where District is California.
Input Format The CITY table is described as follows:
My solution
SELECT SUM(population)
FROM CITY
WHERE DISTRICT = 'California';
Comments