Revising Aggregations – Averages – Hacker Rank Solution

Revising Aggregations - Averages - Hacker Rank Solution
Revising Aggregations – Averages – Hacker Rank Solution

Problem

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

Input Format

The CITY table is described as follows:

 



Revising Aggregations Averages sql – Hacker Rank Solution

select avg(POPULATION) from CITY WHERE DISTRICT = 'California';

Disclaimer: The above Problem (Revising Aggregations – Averages) generated by Hackerrank but the Solution is Provided by codeworld19 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

Your email address will not be published. Required fields are marked *