코딩테스트/해커랭크 SQL
[해커랭크/SQL] 22. Revising Aggregations - The Count Function
Sooyoon Jeong
2023. 3. 6. 19:13
🤔 문제 분석
1) Query a count of the number of cities in CITY having a Population larger than 100000.
💡 풀이
SELECT COUNT(DISTINCT NAME)
FROM CITY
WHERE POPULATION > 100000