[문제]
weather observation station 8 문제 바로가기
Weather Observation Station 8 | HackerRank
Query CITY names that start AND end with vowels.
www.hackerrank.com
첫글자, 마지막 글자가 모음인 도시 이름을 추출
도시 이름은 중복 안됨
[풀이]
SELECT DISTINCT city
FROM station
WHERE city REGEXP ('^[a,e,i,o,u].*[a,e,i,o,u]$')
'SQL > MySQL 문제풀이' 카테고리의 다른 글
[LeetCode] Nth highest salary - 사용자 정의 함수 풀이 (0) | 2022.06.28 |
---|---|
[HackerRank] Weather Observation Station 9 정규표현식 풀이 (0) | 2022.06.27 |
[LeetCode] Rank Scores (윈도우함수 풀이) (0) | 2022.06.23 |
[LeetCode] department top three salaries 윈도우함수 풀이 (0) | 2022.06.21 |
[LeetCode] Consecutive Numbers 풀이 (0) | 2022.06.20 |