Query the average population of all cities in CITY where District is California.
Input Format
The CITY table is described as follows:
SELECT
AVG(POPULATION)
FROM
CITY
WHERE
DISTRICT = 'California'
'SQL > HackerRank' 카테고리의 다른 글
[MySQL/HackerRank] Japan Population (0) | 2024.08.13 |
---|---|
[MySQL/HackerRank] Average Population (0) | 2024.08.13 |
[MySQL/HackerRank] Revising Aggregations - The Sum Function (0) | 2024.08.13 |
[MySQL/HackerRank] Revising Aggregations - The Count Function (0) | 2024.08.13 |
[MySQL/HackerRank] New Companies (0) | 2024.08.12 |