-
HackerRank / Weather Observation Station 3SQL 2022. 12. 8. 16:13
Weather Observation Station 3
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:where LAT_N is the northern latitude and LONG_W is the western longitude.
select distinct city from station where (id % 2) = 0
'SQL' 카테고리의 다른 글
그룹 별 중복값이 있는지 확인하기 (0) 2023.01.16 평점 높은 영화 찾기 (0) 2023.01.08 HackerRank / Japanese Cities Attributes (0) 2022.12.08 HackerRank / Revising the Select Query 2 (0) 2022.12.08 HackerRank / Revising the Select Query 1 (0) 2022.12.08