You are viewing a single comment's thread. Return to all comments →
select distinct CITY from STATION where CITY not regexp '^[aeiouAEIOU].*[aeiouAEIOU]$';
METHOD 2 : select distinct CITY from STATION where LEFT(CITY,1) NOT IN ('A','E','I','O','U') OR RIGHT(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 11
You are viewing a single comment's thread. Return to all comments →
select distinct CITY from STATION where CITY not regexp '^[aeiouAEIOU].*[aeiouAEIOU]$';
METHOD 2 : select distinct CITY from STATION where LEFT(CITY,1) NOT IN ('A','E','I','O','U') OR RIGHT(CITY,1) NOT IN ('A','E','I','O','U');