We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Weather Observation Station 8
Weather Observation Station 8
Sort by
recency
|
4484 Discussions
|
Please Login in order to post a comment
/* Oracle */ SELECT city FROM station WHERE REGEXP_LIKE(city,'^[aeiou]', 'i') AND REGEXP_LIKE(city,'[aeiou]$', 'i');
For MySQL
SQL Server select distinct city from station where SUBSTRING(LOWER(city),1,1) IN ('a','e','i','o','u') AND SUBSTRING(LOWER(city),LEN(city),LEN(city)) IN ('a','e','i','o','u');
with cte1 as ( select id,length(city)as l1 from station ) select distinct city from station s join cte1 as c1 on c1.id=s.id where substr(city,c1.l1,1)in ("a","e","i","o","u") and substr(city,1,1) in ("a","e","i","o","u")