Sunday, 24 March 2019

Revising Aggregations - Averages:- HackerRank Solution in MYSQL

Problem:-

Query the average population of all cities in CITY where District is California.
Input Format
The CITY table is described as follows:
Solution:-


SELECT AVG(Population)
FROM City

WHERE District = 'California';

No comments:

Post a Comment

Error While embed the video in Your website page

Error:- Refused to display '<URL>' in a frame because it set 'X-Frame-Options' to 'sameorigin Solution:- if ...