Problem Statement
A description of the problem can be found on Hackerrank.
Solution
Only difference between Weather Observation Station 11 is 'AND'
.
I created solution in:
All solutions are also available on my GitHub.
SQL
1 2 3 4 5 6 7 |
select distinct city from station where substr(lower(city), 1, 1) not in ('a', 'e', 'i', 'o', 'u') and substr(lower(city), length(city), 1) not in ('a', 'e', 'i', 'o', 'u') order by city; |