We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Weather Observation Station 10
Weather Observation Station 10
Sort by
recency
|
2125 Discussions
|
Please Login in order to post a comment
MYSQL: SELECT DISTINCT CITY FROM STATION WHERE RIGHT(CITY,1) NOT IN ('a','e','i','o','u');
Oracle SQL: SELECT DISTINCT CITY FROM STATION WHERE 1=1 AND NOT REGEXP_LIKE(CITY,'[AEIOU]$','i')
MS SQL SERVER:
SELECT DISTINCT CITY FROM STATION WHERE NOT LOWER(RIGHT(CITY, 1)) IN ('a', 'e', 'i', 'o', 'u');
select distinct(city) from station where lower(city) not like '%a' and city not like '%e' and city not like '%i' and city not like '%o' and city not like '%u';