| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- 자바스크립트
- Hackerrank
- select
- 개발자의 책장
- 블록체인
- JavaScript
- 코딩테스트
- join
- 프로그래머스
- SQL
- 배열
- array.push()
- 개발자_조이킴
- Algorithms
- 재귀함수
- 역행자
- 정규표현식
- node.js
- array.slice()
- Developer_JoyKim
- Programmers
- MySQL
- 코드스테이츠
- for문
- Where
- 최강의 인생
- 알고리즘
- 코딩공부
- array
- 코플릿
Archives
- Today
- Total
CodingSpace
[HackerRank/SQL] Aggregation - Japan Population 본문
Problem. Aggregation - Japan Population
Link.
Japan Population | HackerRank
Query to the sum of the populations of all Japanese cities in CITY.
www.hackerrank.com
Description.
Query the sum of the populations for all Japanese cities in CITY.

Key Point.
SELECT,
SUM,
WHERE,
My Answer.
SELECT SUM(POPULATION)
FROM CITY
WHERE COUNTRYCODE = 'JPN';
References.
'HackerRank > SQL' 카테고리의 다른 글
| [HackerRank/SQL] Alternative Queries - Draw The Triangle 2 (0) | 2022.07.22 |
|---|---|
| [HackerRank/SQL] Basic Select - Weather Observation Station 12 (0) | 2022.07.20 |
| [HackerRank/SQL] Revising Aggregations - Top Earners (0) | 2022.07.19 |
| [HackerRank/SQL] Revising Aggregations - The Blunder (0) | 2022.07.17 |
| [HackerRank/SQL] Revising Aggregations - Population Density Difference (0) | 2022.07.17 |
Comments