Regexp1 [SQL] HackerRank 해커랭크 문제 풀이 Weather Observation Station 12 문제 Query the list of CITY names from STATION that do not start with vowels and do not end with vowels. Your result cannot contain duplicates. 다음 SQL 쿼리는 STATION 테이블에서 CITY 이름을 조회하는데, 다음 조건을 만족하는 경우만 선택합니다.CITY 이름이 모음(a, e, i, o, u)으로 시작하지 않는다.CITY 이름이 모음(a, e, i, o, u)으로 끝나지 않는다.결과에서 중복을 제거한다. 정답select distinct cityfrom stationwhere city not regexp '^[AEUIO]' and city not regexp '[AEUIO]$' 추가 .. 2025. 3. 7. 이전 1 다음