hackerrank: Weather Observation Station 7

select distinct city
from station
where city like '%a'
or
city like '%e'
or
city like '%i'
or
city like '%o'
or
city like '%u';
Share:

1 comment:

  1. select distinct city from station where substr(city,length(city),1) in ('a','e','i','o','u');

    ReplyDelete