반응형
SQL > Basic Select > Japanese Cities Attributes
Problem
Query all attributes of every Japanese city in the CITY table. The COUNTRYCODE for Japan is JPN.
The CITY table is described as follows:
My Answer
SELECT *
FROM CITY
WHERE COUNTRYCODE = 'JPN'
반응형
'CODING TEST > SQL : HackerRank' 카테고리의 다른 글
[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' Names (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 |
[MySQL] Revising the Select Query I (0) | 2021.03.26 |
댓글