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:

이전 문제 : https://hdobby.tistory.com/7
이전 문제에서 SELECT에 특정 컬럼만 추가해주는 문제
COUNTRYCODE는 JPN
NAME만 출력
코드
더보기
SELECT NAME
FROM CITY
WHERE COUNTRYCODE = 'JPN';
728x90
'서버 > MYSQL' 카테고리의 다른 글
| [MYSQL] HACKERRANK - Weather Observation Station 3 (0) | 2022.06.03 |
|---|---|
| [MYSQL] HACKERRANK - Weather Observation Station 1 (0) | 2022.06.01 |
| [MYSQL] HACKERRANK - Japanese Cities' Attributes (0) | 2022.05.31 |
| [MYSQL] HACKERRANK - SELECT BY ID (0) | 2022.05.31 |
| [MYSQL] HACKERRANK - SELECT ALL (0) | 2022.05.31 |
댓글