CODING TEST/SQL : HackerRank
[MySQL] Revising Aggregations - The Count Function
주 녕
2021. 4. 20. 16:18
반응형
▶ SQL > Aggregation > Revising Aggregations - The Count Function
Problem
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:
My Answer
SELECT COUNT(*)
FROM CITY
WHERE POPULATION > 100000
반응형