Milky's note

[HackerRank](E) Revising Aggregations - The Count Function 본문

SQL/SQL 코딩 테스트-HackerRank

[HackerRank](E) Revising Aggregations - The Count Function

밀뿌 2022. 3. 25. 15:39

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

 

Revising Aggregations - The Count Function | HackerRank

Query the number of cities having populations larger than 100000.

www.hackerrank.com

 

[문제]

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

Input Format

The CITY table is described as follows: 

 

 

[답]

-mysql

select count(name) from city
where population > 100000
Comments