You are viewing a single comment's thread. Return to all comments →
SELECT DISTINCT(CITY) FROM STATION WHERE SUBSTR(CITY, 1,1) IN ('a', 'e', 'i', 'o', 'u') AND SUBSTR(CITY, -1, 1) IN ('a', 'e', 'i', 'o', 'u'); OR SELECT DISTINCT CITY FROM STATION WHERE CITY REGEXP '^[aeiou]' AND CITY REGEXP '[aeiou]$';
SELECT DISTINCT(CITY)
FROM STATION
WHERE SUBSTR(CITY, 1,1) IN ('a', 'e', 'i', 'o', 'u')
AND SUBSTR(CITY, -1, 1) IN ('a', 'e', 'i', 'o', 'u');
SELECT DISTINCT CITY
WHERE CITY REGEXP '^[aeiou]' AND CITY REGEXP '[aeiou]$';
Seems like cookies are disabled on this browser, please enable them to open this website
Weather Observation Station 8
You are viewing a single comment's thread. Return to all comments →
SELECT DISTINCT(CITY)
FROM STATION
WHERE SUBSTR(CITY, 1,1) IN ('a', 'e', 'i', 'o', 'u')
AND SUBSTR(CITY, -1, 1) IN ('a', 'e', 'i', 'o', 'u');
ORSELECT DISTINCT CITY
FROM STATION
WHERE CITY REGEXP '^[aeiou]' AND CITY REGEXP '[aeiou]$';