Weather Observation Station 11
- URL : https://www.hackerrank.com/challenges/weather-observation-station-11/problem
- Query the list of CITY names from STATION that either do not start with vowels or do not end with vowels. Your result cannot contain duplicates.
- MySQL Solution
1 2 3 4 select distinct(city) from station where right(city, 1) not in ('a','e','i','o','u') or left(city, 1) not in ('a','e','i','o','u')