HackerRank/SQL

[hackerrank] Japanese Cities' Attributes

예쁜꽃이피었으면 2022. 8. 8. 14:48

[hackerrank] Prepare > SQL > Basic Select >  Japanese Cities' Attributes

 

[문제]

Query all attributes of every Japanese city in the CITY table. The COUNTRYCODE for Japan is JPN.

The CITY table is described as follows:

 

[MYSQL]

 

 

[ORCALE]

select *
from city
where countrycode = 'JPN';

 

 

 

 

반응형

'HackerRank > SQL' 카테고리의 다른 글

[hackerrank] Weather Observation Station 1  (0) 2022.08.08
[hackerrank] Japanese Cities' Names  (0) 2022.08.08
[hackerrank] Select By ID  (0) 2022.08.08
[hackerrank] Select All  (0) 2022.08.08
[hackerrank] Revising the Select Query II  (0) 2022.08.08