Im between cherry

Hackerrank | MySQL |Japanese Cities' Names 본문

데이터분석/practice_query

Hackerrank | MySQL |Japanese Cities' Names

meal 2020. 8. 27. 18:11

Japanese Cities' Names

Problem

 

Japanese Cities' Names | HackerRank

In this challenge, you will query a list of all the Japanese cities' names.

www.hackerrank.com

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:

 

 

Solution

SELECT NAME
FROM CITY
WHERE countrycode = 'JPN'

 

Comments