I want to query the list of CITY names from the table STATION(id, city, longitude, latitude) which have vowels as both their first and last charact
CITY
STATION(id, city, longitude, latitude)
The below query will do for Orale DB:
select distinct(city) from station where upper(substr(city, 1,1)) in ('A','E','I','O','U') and upper(substr(city, length(city),1)) in ('A','E','I','O','U');