반응형
SQL > Basic Select > Japanese Cities' Names
Problem
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:
My Answer
SELECT NAME
FROM CITY
WHERE COUNTRYCODE = 'JPN'
반응형
'CODING TEST > SQL : HackerRank' 카테고리의 다른 글
[MySQL] Weather Observation Station 5 (0) | 2021.03.31 |
---|---|
[MySQL] Weather Observation Station 4 (0) | 2021.03.31 |
[MySQL] Weather Observation Station 3 (0) | 2021.03.30 |
[MySQL] Weather Observation Station 1 (0) | 2021.03.30 |
[MySQL] Japanese Cities Attributes (0) | 2021.03.29 |
[MySQL] Select By ID (0) | 2021.03.27 |
[MySQL] Select All (0) | 2021.03.27 |
[MySQL] Revising the Select Query II (0) | 2021.03.26 |
댓글