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
|
2219 Discussions
|
Please Login in order to post a comment
select distinct city from station where not(lower(right(city,1)) in ('a','e','i','o','u'));
or
For that we can use different queries based on performance & optimization
select distinct(city) from station where LOWER(RIGHT(city,1)) not in ('a','e','i','o','u');
SELECT DISTINCT city FROM station WHERE SUBSTRING(city, LENGTH(city), 1) NOT IN ('a','e','i','o','u','A','E','I','O','U');
SELECT DISTINCT CITY FROM STATION WHERE UPPER(SUBSTR(CITY, -1)) NOT IN ('A', 'E', 'I', 'O', 'U');