Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- 프로그래머스
- Recsys-KR
- 3줄 논문
- pytorch
- Machine Learning Advanced
- 협업필터링
- 엘리스
- 입문
- 큐
- 파이썬
- 한빛미디어
- 튜토리얼
- Image Segmentation
- 알고리즘
- DilatedNet
- 스택
- DFS
- eda
- Semantic Segmentation
- TEAM-EDA
- 추천시스템
- 나는 리뷰어다
- 코딩테스트
- Segmentation
- Object Detection
- TEAM EDA
- hackerrank
- MySQL
- Python
- 나는리뷰어다
Archives
- Today
- Total
TEAM EDA
[HackerRank] Basic Join : Asian Population 본문
Given the CITY and COUNTRY tables, query the sum of the populations of all cities where the CONTINENT is 'Asia'.
Note: CITY.CountryCode and COUNTRY.Code are matching key columns.
Input Format
The CITY and COUNTRY tables are described as follows:


풀이
SELECT SUM(C.POPULATION)
FROM CITY AS C
JOIN COUNTRY AS O ON C.COUNTRYCODE = O.CODE
WHERE O.CONTINENT = 'Asia';'EDA Study > SQL' 카테고리의 다른 글
| [HackerRank] Basic Join : Average Population of Each Continent (0) | 2021.02.08 |
|---|---|
| [HackerRank] Basic Join : African Cities (0) | 2021.02.08 |
| [HackerRank] Basic Select : Employee Salaries (0) | 2021.02.07 |
| [HackerRank] Basic Select : Employee Names (0) | 2021.02.07 |
| [HackerRank] Basic Select : Higher Than 75 Marks (0) | 2021.02.07 |