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

[답]
-mysql
select sum(population) from city
where COUNTRYCODE = 'JPN'
'SQL > SQL 코딩 테스트-HackerRank' 카테고리의 다른 글
[HackerRank](E) The Blunder (0) | 2022.03.25 |
---|---|
[HackerRank](E) Population Density Difference (0) | 2022.03.25 |
[HackerRank](E) Average Population (0) | 2022.03.25 |
[HackerRank](E) Revising Aggregations - Averages (0) | 2022.03.25 |
[HackerRank](E) Revising Aggregations - The Sum Function (0) | 2022.03.25 |
Comments