Weather Observation Station 11

  • + 0 comments

    The task, asks for cities that either do not start with vowels 'OR' do not end with vowels. This is a logical "OR" condition, not "AND".

    SELECT DISTINCT CITY FROM STATION WHERE LEFT(CITY, 1) NOT IN ('A', 'E', 'I', 'O', 'U') OR RIGHT(CITY, 1) NOT IN ('a', 'e', 'i', 'o', 'u');