https://www.hackerrank.com/challenges/weather-observation-station-10
SELECT DISTINCT city
FROM station
WHERE city NOT LIKE '%a'
AND city NOT LIKE '%e'
AND city NOT LIKE '%i'
AND city NOT LIKE '%o'
AND city NOT LIKE '%u'
https://www.hackerrank.com/challenges/weather-observation-station-11
SELECT DISTINCT city
FROM station
WHERE city NOT REGEXP '^[aeiou].*'
OR city REGEXP '.*[^aeiou]$'
정규표현식
https://www.hackerrank.com/challenges/weather-observation-station-12
SELECT DISTINCT city
FROM station
WHERE LEFT(city, 1) NOT IN ('a', 'e', 'i', 'o', 'u')
AND RIGHT(city, 1) NOT IN ('a', 'e', 'i', 'o', 'u')
SELECT DISTINCT city
FROM station
WHERE city NOT REGEXP '^[aeiou].*'
AND city REGEXP '.*[^aeiou]$'