[HackerRank] Japanese Cities' Names

이정진·2021년 12월 2일
0

SQL

목록 보기
14/23
post-thumbnail

Japanese Cities' Names

난이도 구분 : Easy

문제

Query the names of all the Japanese cities in the CITY table. The COUNTRYCODE for Japan is JPN.
The CITY table is described as follows:

문제 풀이

바로 저번 문제와 동일한 쿼리를 작성하면 된다. 유일한 차이점은 조회할 Field가 name뿐이라는 것이다.

SQL

SELECT NAME
FROM CITY
WHERE COUNTRYCODE = 'JPN' 

0개의 댓글