[해커랭크(HackerRank)] Weather Observation Station 7 (MySQL)
문제 Query the list of CITY names ending with vowels (a, e, i, o, u) from STATION. Your result cannot contain duplicates. Input Format The STATION table is described as follows: 코드 substring SELECT DISTINCT city FROM Station WHERE substring(city, -1) IN ('a','e','i','o','u') Station 테이블에서 city 이름의 마지막 글자가 모음(a,e,i,o,u)인 목록을 출력 중복 금지 정규표현식 SELECT distinct city FROM Station WHERE city REGEXP '.*[aei..