일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 결측값
- seaborn
- Round
- 데이터분석
- 파이썬
- not in
- 전처리
- 다중 JOIN
- airflow.cfg
- GROUPBY
- pandas
- SQLite
- 데이터시각화
- 그로스해킹
- airflow 설치
- TRUNCATE
- Oracle
- 머신러닝
- join
- SQL
- SUM
- having
- solvesql
- matplotlib
- hackerrank
- Limit
- MySQL
- 데이터리안 웨비나
- PostgreSQL
- 프로그래머스
Archives
- Today
- Total
Milky's note
[HackerRank](E) Revising Aggregations - The Sum Function 본문
SQL/SQL 코딩 테스트-HackerRank
[HackerRank](E) Revising Aggregations - The Sum Function
밀뿌 2022. 3. 25. 15:57https://www.hackerrank.com/challenges/revising-aggregations-sum/problem?isFullScreen=true
[문제]
Query the total population of all cities in CITY where District is California.
Input Format
The CITY table is described as follows:
[답]
- mysql
select sum(population) from city
where district = 'California'
'SQL > SQL 코딩 테스트-HackerRank' 카테고리의 다른 글
[HackerRank](E) Average Population (0) | 2022.03.25 |
---|---|
[HackerRank](E) Revising Aggregations - Averages (0) | 2022.03.25 |
[HackerRank](E) Revising Aggregations - The Count Function (0) | 2022.03.25 |
[HackerRank](M) Binary Tree Nodes (0) | 2022.03.18 |
[HackerRank](M) The PADS (0) | 2022.03.18 |
Comments