https://www.hackerrank.com/challenges/weather-observation-station-8/problem
SELECT DISTINCT(CITY)
FROM Station
WHERE LEFT(CITY,1) in ('a','e','i','o','u') AND
RIGHT(CITY,1) in ('a','e','i','o','u');
'Algorithm > SQL' 카테고리의 다른 글
[SQL][HackerRank] Weather Observation Station 10 (0) | 2020.06.09 |
---|---|
[SQL][HackerRank] Weather Observation Station 9 (0) | 2020.06.09 |
[SQL][HackerRank] Weather Observation Station 6 (0) | 2020.06.08 |
[SQL][HackerRank] Weather Observation Station 5 (0) | 2020.06.08 |
[SQL][HackerRank] Weather Observation Station 4 (0) | 2020.06.08 |