Anusha Murali

Logo

Please see github.com/anusha-murali for all of my repositories.

View GitHub Profile

23. Weather Observation Station 8: Solution


Query the list of CITY names from STATION which have vowels (i.e., a, e, i, o, and u) as both their first and last characters. Your result cannot contain duplicates.

The STATION table is described as follows:

16

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

solution_image5

SELECT DISTINCT CITY
FROM STATION
WHERE REGEXP_LIKE(CITY, '^[AEIOU]') AND REGEXP_LIKE(CITY, '[aeiou]$');

Back to problems


anusha-murali.github.io