[문제]

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]$')

+ Recent posts