Revising Aggregations The Sum Function – Hacker Rank Solution

Revising Aggregations The Sum Function - Hacker Rank Solution
Revising Aggregations The Sum Function – Hacker Rank Solution

Problem

Query the total population of all cities in CITY where District is California.

Input Format

The CITY table is described as follows:

 1449729804 f21d187d0f CITY

Oracle



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. Authority if any of the queries regarding this post or website fill the following contact form thank you.

Leave a Comment