Problem:-
Solution:-
select sum(population)
from city
where district="California"
Query the total population of all cities in CITY where District is California.
Input Format
The CITY table is described as follows:![CITY.jpg](https://s3.amazonaws.com/hr-challenge-images/8137/1449729804-f21d187d0f-CITY.jpg)
![CITY.jpg](https://s3.amazonaws.com/hr-challenge-images/8137/1449729804-f21d187d0f-CITY.jpg)
Solution:-
select sum(population)
from city
where district="California"
No comments:
Post a Comment