Weather Observation Station 12

  • + 0 comments

    MYSQL

    SELECT DISTINCT CITY FROM Station WHERE SUBSTR(LOWER(CITY), 1, 1) NOT IN ('a', 'e', 'i', 'o', 'u') AND SUBSTR(LOWER(CITY), LENGTH(city), 1) NOT IN ('a', 'e', 'i', 'o', 'u') AND SUBSTR(UPPER(CITY), 1, 1) NOT IN ('a', 'e', 'i', 'o', 'u') AND SUBSTR(UPPER(CITY), LENGTH(city), 1) NOT IN ('a', 'e', 'i', 'o', 'u');