SQL/MySQL

[MySQL/HackerRank] Revising Aggregations - The Count Function

NLP Developer 2023. 8. 21. 01:06
728x90
반응형

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: 

Code

SELECT COUNT(*)
FROM CITY
WHERE POPULATION > 100000;
728x90
반응형