HackerRank/SQL

[hackerrank] Revising Aggregations - The Count Function

예쁜꽃이피었으면 2022. 8. 22. 13:35

[hackerrank] Prepare > SQL > Aggregation >  Revising Aggregations - The Count Function

 

[문제]

 

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

Input Format

The CITY table is described as follows: 

[MYSQL]

 

 

[ORCALE]

select count(*)
from city
where population > 100000;

 

 

 

반응형