Snoopy [해커랭크/SQL] 24. Revising Aggregations - Averages
코딩테스트/해커랭크 SQL

[해커랭크/SQL] 24. Revising Aggregations - Averages

Sooyoon Jeong 2023. 3. 6.

 

🤔 문제 분석

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

 

💡 풀이

SELECT AVG(POPULATION)
FROM CITY
WHERE DISTRICT = "California"

 

댓글