SQL/해커랭크 [MySQL] Weather Observation Station 3 - [문제] Weather Observation Station 3 | HackerRank Weather Observation Station 3 | HackerRank Query a list of unique CITY names with even ID numbers. www.hackerrank.com [문제 풀이] DISTINCT는 중복이 없이 나타나게 도와주는 키워드이다. SELECT DISTINCT A(컬럼) 을 사용하면 A컬럼에서의 중복이 아닌 부분만이 나온다. [코드] SELECT DISTINCT CITY FROM STATION WHERE ID % 2 = 0 공유하기 게시글 관리 Yoon-1212 'SQL > 해커랭크' 카테고리의 다른 글 [MySQL] Weather Observation Station 5 (0) 2022.10.09 [MySQL] Weather Observation Station 4 (0) 2022.10.09 [MySQL] Weather Observation Station 1 (0) 2022.10.09 [MySQL] Japanese Cities' Names (0) 2022.10.09 [MySQL] Select By ID (0) 2022.10.09 Contents 당신이 좋아할만한 콘텐츠 [MySQL] Weather Observation Station 5 2022.10.09 [MySQL] Weather Observation Station 4 2022.10.09 [MySQL] Weather Observation Station 1 2022.10.09 [MySQL] Japanese Cities' Names 2022.10.09 댓글 0 + 이전 댓글 더보기