[HackerRank] Weather Observation Station 3
2021. 1. 20. 20:43ㆍ데이터베이스/SQL
728x90
반응형
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.
The STATION table is described as follows:

SELECT DISTINCT CITY FROM STATION WHERE ID % 2 = 0;
'데이터베이스 > SQL' 카테고리의 다른 글
[HackerRank] Weather Observation Station 5 (0) | 2021.01.20 |
---|---|
[HackerRank] Weather Observation Station 4 (0) | 2021.01.20 |
[HackerRank] Weather Observation Station 1 (0) | 2021.01.20 |
[HackerRank] Japanese Cities' Attributes (0) | 2021.01.20 |
[HackerRank] Japanese Cities' Names (0) | 2021.01.19 |