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.
Oracle -
It is expecting either do not start with vowels or do not end with vowels.
select distinct(city) from station where lower(substr(city,1,1)) Not In ('a','i','e','o','u') or lower(substr(city, -1,1)) Not In ('a','i','e','o','u');
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Weather Observation Station 11
You are viewing a single comment's thread. Return to all comments →
Oracle - It is expecting either do not start with vowels or do not end with vowels.
select distinct(city) from station where lower(substr(city,1,1)) Not In ('a','i','e','o','u') or lower(substr(city, -1,1)) Not In ('a','i','e','o','u');