Prepare> SQL > Aggregation > Revising Aggregations - The Count Function

2023. 5. 16. 20:54HackerRank-My SQL

 

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.

 

 

 

 

코드


SELECT COUNT(COUNTRYCODE) FROM CITY
WHERE POPULATION > 100000;