Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 649 Bytes

Weather_Observation_Station_10.md

File metadata and controls

20 lines (13 loc) · 649 Bytes

Day #16 - Weather Observation Station 10

Problem

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

Input Format

The STATION table is described as follows:

1449345840-5f0a551030-Station

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

Solution

select distinct city from station 
where city Not like '%A' and city Not like '%E' and city Not like '%I' and
      city Not like '%o' and city not like '%U';