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;

 

 

 

반응형

'HackerRank > SQL' 카테고리의 다른 글

[hackerrank] Revising Aggregations - The Sum Function  (0) 2022.08.24
[hackerrank] Weather Observation Station 20  (0) 2022.08.22
[hackerrank] New Companies  (0) 2022.08.22
[hackerrank] Binary Tree Nodes  (0) 2022.08.18
[hackerrank] The PADS  (0) 2022.08.17