You are viewing a single comment's thread. Return to all comments →
Oracle SQL: SELECT DISTINCT CITY FROM STATION WHERE NOT REGEXP_LIKE(CITY,'^[AEIOU]','i');
MYSQL: SELECT DISTINCT CITY FROM STATION WHERE LEFT(CITY,1) not in ('a','e','i','o','u');
Seems like cookies are disabled on this browser, please enable them to open this website
Weather Observation Station 9
You are viewing a single comment's thread. Return to all comments →
Oracle SQL: SELECT DISTINCT CITY FROM STATION WHERE NOT REGEXP_LIKE(CITY,'^[AEIOU]','i');
MYSQL: SELECT DISTINCT CITY FROM STATION WHERE LEFT(CITY,1) not in ('a','e','i','o','u');