MySQL
https://www.hackerrank.com/challenges/weather-observation-station-1
SELECT city, state
FROM station
https://www.hackerrank.com/challenges/weather-observation-station-3
SELECT DISTINCT city
FROM station
WHERE id % 2 = 0
==
0 을 썼는데 python문법과 혼동 주의하자.MOD(x, y)
: x를 y로 나눈 나머지를 반환WHERE MOD(id, 2) = 0
https://www.hackerrank.com/challenges/weather-observation-station-4
SELECT COUNT(city) - COUNT(DISTINCT city)
FROM station