CODING TEST/SQL : HackerRank

[MySQL] Japanese Cities Attributes

주 녕 2021. 3. 29. 16:10
반응형

 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'

 

 

반응형