[HackerRank|MySQL] Weather Observation Station 3

히끼·2020년 8월 21일
0

HackerRank

목록 보기
5/13

Weather Observation Station 3

Problem

Query a list of CITY names from STATION for cities that have an even ID number. Print the results in any order, but exclude duplicates from the answer.

Solution

SELECT DISTINCT CITY
FROM STATION
WHERE ID % 2 = 0

0개의 댓글