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