Hello coders, In this post, you will learn how to solve the Weather Observation Station 9 query in SQL Hacker Rank Solution. This problem is a part of the SQL Hacker Rank series.
Query the list of CITY names starting with vowels (i.e.,
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.
Weather Observation Station 9 query in SQL Hacker Rank Solution
SELECT DISTINCT CITY FROM STATION WHERE NOT (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 9 query in SQL ) generated by Hackerrank but the Solution is Provided by Chase2Learn. This tutorial is only for Educational and Learning purposes.