Weather Observation Station 12 sql – Hacker Rank Solution

Weather Observation Station 12 sql - Hacker Rank Solution
Weather Observation Station 12 – Hacker Rank Solution

Problem

Query the list of CITY names from STATION that do not start with vowels and do not end with vowels. Your result cannot contain duplicates.

Input Format

The STATION table is described as follows:

where LAT_N is the northern latitude and LONG_W is the western longitude.



Weather Observation Station 12 SQL – Hacker Rank Solution

SELECT DISTINCT CITY
FROM STATION
WHERE CITY REGEXP '^[^aeiouAEIOU]' AND CITY REGEXP '[^aeiouAEIOU]$';

Disclaimer: The above Problem (Weather Observation Station 12) generated by Hackerrank but the Solution is Provided by codeworld19. This tutorial is only for Educational and Learning purposes. Authority if any of the queries regarding this post or website fill the following contact form thank you.

Leave a Comment

Your email address will not be published. Required fields are marked *