Hello coders, today we are going to solve Weather Observation Station 7 HackerRank Solution in SQL.
Query the list of CITY names ending with vowels (a, e, i, o, u) from STATION. Your result cannot contain duplicates.
The STATION table is described as follows:
where LAT_N is the northern latitude and LONG_W is the western longitude.
Solution – Weather Observation Station 7 in SQL
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';
Disclaimer: The above Problem (Weather Observation Station 7) is generated by Hacker Rank but the Solution is Provided by CodingBroz. This tutorial is only for Educational and Learning Purpose.