We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
This worked, but can change to the following due to the ID's should be unique/the primary key anways.
SELECT DISTINCT CITY FROM STATION WHERE ID in (SELECT ID FROM STATION WHERE CITY REGEXP '^[^aeiou]' OR CITY REGEXP '[^aeiou]$');
Weather Observation Station 11
You are viewing a single comment's thread. Return to all comments →
This worked, but can change to the following due to the ID's should be unique/the primary key anways. SELECT DISTINCT CITY FROM STATION WHERE ID in (SELECT ID FROM STATION WHERE CITY REGEXP '^[^aeiou]' OR CITY REGEXP '[^aeiou]$');