Sunday, 24 March 2019

Revising Aggregations - The Sum Function:- HackerRank Solution in MYSQL

Problem:-

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

Solution:-


select sum(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 ...