IT/SQL

[해커랭크] Revising Aggregations - The Count Function

김보통김보름 2023. 3. 31. 01:38
728x90
반응형

문제링크 : https://www.hackerrank.com/challenges/revising-aggregations-the-count-function/problem?isFullScreen=true

 

Query a count of the number of cities in CITY having a Population larger than 100,000.

(인구가 100,000명보다 많은 CITY 수 출력)

Input Format

The CITY table is described as follows: 

 

SELECT COUNT(*)
FROM CITY
WHERE POPULATION > 100000

 


count: 개수 출력

728x90