| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- 데이터분석
- 결측값
- SQL
- 다중 JOIN
- not in
- SQLite
- 데이터시각화
- Round
- 그로스해킹
- TRUNCATE
- SUM
- 전처리
- seaborn
- MySQL
- 파이썬
- pandas
- Limit
- having
- Oracle
- matplotlib
- hackerrank
- 프로그래머스
- solvesql
- airflow.cfg
- 머신러닝
- GROUPBY
- PostgreSQL
- join
- airflow 설치
- 데이터리안 웨비나
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