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 7
Weather Observation Station 7
Sort by
recency
|
3237 Discussions
|
Please Login in order to post a comment
SELECT distinct(city) from station where lower(right(city,1)) IN ('a','e','i','o','u');
ORACLE PL/SQL:
SET SERVEROUTPUT ON; BEGIN FOR r IN (SELECT DISTINCT CITY FROM STATION WHERE LOWER(SUBSTR(CITY,-1,1)) IN ('a','e','i','o','u')) LOOP DBMS_OUTPUT.PUT_LINE(r.city); END LOOP; END; /
Solution for Oracle: SELECT DISTINCT(CITY) FROM STATION WHERE UPPER(SUBSTR(CITY,-1,1)) IN ('A','E','I','O','U');
SELECT DISTINCT CITY FROM STATION WHERE SUBSTR(CITY,-1) IN ('A','E','I','O','U');