Hello coders, In this post, you will learn how to solve the Revising Aggregations The Sum Function Hacker Rank Solution. This problem is a part of the SQL Hacker Rank series.

Problem
Query the total population of all cities in CITY where District is California.
Input Format
The CITY table is described as follows:
Revising Aggregations The Sum Function Hacker Rank Solution
SELECT SUM(POPULATION) FROM CITY WHERE DISTRICT = 'California';
Disclaimer: The above Problem (Revising Aggregations – The Sum Function) generated by Hackerrank but the Solution is Provided by Chase2Learn. This tutorial is only for Educational and Learning purposes.