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
|
4698 Discussions
|
Please Login in order to post a comment
Could someone told me why this isn't working 'select distinct City from Station where substring(City,-1) in ('a', 'u','o','i','e') and substring (City,1,1) in ('A', 'U','O','I','E');' I am recieving that substring function doesn't exist?
SELECT DISTINCT CITY FROM STATION WHERE LEFT(CITY,1) in ('a', 'e','i','o','u') AND RIGHT(CITY,1) in ('a', 'e','i','o','u');
MySQL: SELECT DISTINCT CITY FROM STATION WHERE CITY REGEXP '^[aeiouAEIOU].*[aeiouAEIOU]$' ;
SELECT DISTINCT CITY FROM STATION WHERE LOWER(LEFT(CITY, 1)) IN ('a','e','i','o','u') AND LOWER(RIGHT(CITY, 1)) IN ('a','e','i','o','u');
ora: select distinct CITY
from STATION where regexp_like(upper(CITY), '^AEOIU[AEOIU]$');