🤔 문제 분석
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
'코딩테스트 > 해커랭크 SQL' 카테고리의 다른 글
[해커랭크/SQL] 24. Revising Aggregations - Averages (0) | 2023.03.06 |
---|---|
[해커랭크/SQL] 23. Revising Aggregations - The Sum Function (0) | 2023.03.06 |
[해커랭크/SQL] 20. Employee Salaries (0) | 2023.02.22 |
[해커랭크/SQL] 19. Employee Names (0) | 2023.02.22 |
[해커랭크/SQL] 18. Higher Than 75 Marks (0) | 2023.02.22 |
댓글