Weather Observation Station 7

  • + 0 comments

    -- Query the list of City names ending with vowels(a,i,u,e,o) FROM STATION -- the process is similar like before with starting vowels LEFT but use right and filter to one alphabec to produce the result wanted

    SELECT DISTINCT(CITY)

    FROM STATION

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