일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Limit
- not in
- 전처리
- PostgreSQL
- GROUPBY
- MySQL
- 데이터리안 웨비나
- join
- 파이썬
- TRUNCATE
- 다중 JOIN
- pandas
- SQL
- 프로그래머스
- SQLite
- hackerrank
- airflow.cfg
- solvesql
- matplotlib
- airflow 설치
- seaborn
- 결측값
- having
- 그로스해킹
- 데이터시각화
- Oracle
- 데이터분석
- Round
- 머신러닝
- SUM
Archives
- Today
- Total
Milky's note
[HackerRank](E) Revising Aggregations - The Count Function 본문
SQL/SQL 코딩 테스트-HackerRank
[HackerRank](E) Revising Aggregations - The Count Function
밀뿌 2022. 3. 25. 15:39Revising 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 100,000.
Input Format
The CITY table is described as follows:

[답]
-mysql
select count(name) from city
where population > 100000
'SQL > SQL 코딩 테스트-HackerRank' 카테고리의 다른 글
[HackerRank](E) Revising Aggregations - Averages (0) | 2022.03.25 |
---|---|
[HackerRank](E) Revising Aggregations - The Sum Function (0) | 2022.03.25 |
[HackerRank](M) Binary Tree Nodes (0) | 2022.03.18 |
[HackerRank](M) The PADS (0) | 2022.03.18 |
[HackerRank](E) Type of Triangle (0) | 2022.03.18 |
Comments