Notice
Recent Posts
Recent Comments
Link
forest_moon
[hackerrank, SQL]African Cities 본문
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:


SELECT
city.name
FROM
city
JOIN country ON
country.code = city.countrycode
AND
country.continent = "Africa"
;
'알고리즘' 카테고리의 다른 글
특정 문자 제거하기 (0) | 2023.02.09 |
---|---|
[hackerrank, SQL]The Report (0) | 2023.02.08 |
[hackerrank, SQL]Average Population of Each Continent (0) | 2023.02.07 |
짝수 홀수 개수 (0) | 2023.02.05 |
직각삼각형 출력하기 (0) | 2023.02.05 |