[HackerRank] Revising Aggregations - The Count Function

2021. 1. 25. 21:50데이터베이스/SQL

728x90
반응형

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: 


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