Weather Observation Station 8

  • + 0 comments

    -- query the list of city names from station which have vowels a,i,o, and u as both first and last

    SELECT DISTINCT(CITY)

    FROM STATION

    WHERE LOWER(LEFT(CITY, 1)) IN ('a','i','u','e','o')
            AND LOWER(RIGHT(CITY, 1)) IN ('a','i','u','e','o');