새소식

IT/SQL

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

  • -
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
Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.