You are viewing a single comment's thread. Return to all comments →
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');
Seems like cookies are disabled on this browser, please enable them to open this website
Weather Observation Station 10
You are viewing a single comment's thread. Return to all comments →
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');