cs

Query the list of CITY names from STATION that do not start with vowels and do not end with vowels. Your result cannot contain duplicates.

 

[My Answer]

1
2
3
4
SELECT DISTINCT CITY
FROM STATION
WHERE CITY NOT REGEXP '^[aeiou]'
and CITY NOT REGEXP '[aeiou]$'
cs

+ Recent posts