문제:
https://www.hackerrank.com/challenges/african-cities/problem?isFullScreen=true
African Cities | HackerRank
Query the names of all cities on the continent 'Africa'.
www.hackerrank.com
Given the CITY and COUNTRY tables, query the names of all cities where the CONTINENT is 'Africa'.
Note: CITY.CountryCode and COUNTRY.Code are matching key columns.
Input Format
The CITY and COUNTRY tables are described as follows:
해결 방법 :
전체를 조인해도 되지만, 필요한 컬럼만 들고와서 실행했다.
'코딩공부' 카테고리의 다른 글
[프로그래머스] Level.1 / SELECT - 부모의 형질을 모두 가지는 대장균 찾기 (1) | 2024.12.22 |
---|---|
[프로그래머스] Level.1 / SELECT - 특정 형질을 가지는 대장균 찾기 (0) | 2024.12.22 |
[프로그래머스] Level.3 / SELECT - 대장균들의 자식의 수 구하기 (0) | 2024.12.22 |
[HackerRank] SQL / Basic Join / Easy / Average Population of Each Continent (1) | 2024.12.22 |
[HackerRank] SQL / Basic Join / Medium / Top Competitors (0) | 2024.12.22 |