Im between cherry

Hackerrank | MySQL | Revising Aggregations - The Count Function 본문

데이터분석/practice_query

Hackerrank | MySQL | Revising Aggregations - The Count Function

meal 2020. 8. 28. 09:30

Revising Aggregations - The Count Function

Problem

 

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 than100,000.

 

 

 

- solution

SELECT COUNT(*)
FROM city
WHERE population > 100000

 

Comments