혜온의 이것저것

[HackerRank] Revising Aggregations- The Count Function (MySQL) 본문

Data Analysis/SQL

[HackerRank] Revising Aggregations- The Count Function (MySQL)

혜온 :) 2022. 8. 12. 14:23

https://www.hackerrank.com/challenges/revising-aggregations-the-count-function/problem?isFullScreen=true 

 

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 .

Input Format

The CITY table is described as follows: 

풀이
select count(id)
from city
where population>100000
Comments