일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- TRUNCATE
- 데이터분석
- SUM
- 전처리
- solvesql
- PostgreSQL
- airflow.cfg
- 머신러닝
- SQL
- Round
- airflow 설치
- Limit
- not in
- 데이터리안 웨비나
- having
- seaborn
- 파이썬
- 데이터시각화
- pandas
- hackerrank
- 결측값
- join
- GROUPBY
- matplotlib
- MySQL
- 다중 JOIN
- 그로스해킹
- SQLite
- 프로그래머스
- Oracle
Archives
- Today
- Total
Milky's note
[HackerRank](E) Population Density Difference 본문
https://www.hackerrank.com/challenges/population-density-difference/problem?isFullScreen=true
Population Density Difference | HackerRank
Query the difference between the maximum and minimum city populations in CITY.
www.hackerrank.com
[문제]
Query the difference between the maximum and minimum populations in CITY.
Input Format
The CITY table is described as follows:

[답]
-mysql
select max(population)-min(population) from city
'SQL > SQL 코딩 테스트-HackerRank' 카테고리의 다른 글
[HackerRank](E) Top Earners (0) | 2022.03.25 |
---|---|
[HackerRank](E) The Blunder (0) | 2022.03.25 |
[HackerRank](E) Japan Population (0) | 2022.03.25 |
[HackerRank](E) Average Population (0) | 2022.03.25 |
[HackerRank](E) Revising Aggregations - Averages (0) | 2022.03.25 |
Comments