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.
You need to change the case of the end character :
select distinct(city) from station where substr(city,1,1) in('A','E','I','O','U') and substr(city,length(city),1) in ('a','e','i','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 8
You are viewing a single comment's thread. Return to all comments →
You need to change the case of the end character : select distinct(city) from station where substr(city,1,1) in('A','E','I','O','U') and substr(city,length(city),1) in ('a','e','i','o','u');