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.
select distinct(city) from station where city not like '%a' and city not like '%e' and city not like '%i' and city not like '%o' and city not like '%u';
and
select distinct(city) from station where right(city, 1) not 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 10
You are viewing a single comment's thread. Return to all comments →
select distinct(city) from station where city not like '%a' and city not like '%e' and city not like '%i' and city not like '%o' and city not like '%u';
and
select distinct(city) from station where right(city, 1) not in ('a','e','i','o','u');