본문 바로가기

Algorithm/MySQL

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

문제

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

The CITY table is described as follows:

코드

Select *
From City
Where countrycode = 'JPN'
  1. City 테이블의 모든 일본 도시의 모든 속성을 출력
  2. 일본의 COUNTRYCODE = 'JPN'

출처

반응형