Weather Observation Station 8

  • + 1 comment

    we can do this SELECT CITY FROM STATION WHERE (SUBSTR(CITY, 1, 1) IN ('A','E','I','O','U','a','e','i','o','u')) AND (SUBSTR(CITY, LENGTH(CITY), 1) IN ('A','E','I','O','U','a','e','i','o','u'));

    like this as well.but this is too much for such a simple one i guess. This work same as Right(city,1) and left(city,1)