A description of the problem can be found on Hackerrank.
city starts with one of (
'u') and orders them alphabetically.
I created solution in:
All solutions are also available on my GitHub.
select distinct city
where lower(substr(city, 1, 1)) in ('a', 'e', 'i', 'o', 'u')
order by city asc;