You are viewing a single comment's thread. Return to all comments →
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')
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 →
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')