본문 바로가기

Algorithm/MySQL

[해커랭크(HackerRank)] Japanese Cities' Names (MySQL)

문제

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:

코드

Select name 
From City
Where countrycode = 'JPN'
  1. CITY 테이블에서 이본 도시의 이름을 모두 출력

출처

반응형