You are viewing a single comment's thread. Return to all comments →
the solution is #Solution 1: SELECT DISTINCT CITY FROM STATION WHERE RIGHT(UPPER(CITY),1) IN('A','E','I','O','U');
SELECT DISTINCT CITY FROM STATION WHERE CITY REGEXP '[aeiou]$';
Seems like cookies are disabled on this browser, please enable them to open this website
Weather Observation Station 7
You are viewing a single comment's thread. Return to all comments →
the solution is #Solution 1: SELECT DISTINCT CITY FROM STATION WHERE RIGHT(UPPER(CITY),1) IN('A','E','I','O','U');
Solution 2:
SELECT DISTINCT CITY FROM STATION WHERE CITY REGEXP '[aeiou]$';