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.
I had a few variations on that - I suppose if I used UPPER(CITY) it would be less work since most cities start with upper case letter (maybe some dutch do not!) - I had trouble with the ending group (I thought I could get it done with just one grouping at first)
SELECT DISTINCT(CITY) FROM STATION WHERE LOWER(CITY) REGEXP '^[^aeiou].*[^aeiou]$';
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Weather Observation Station 12
You are viewing a single comment's thread. Return to all comments →
I had a few variations on that - I suppose if I used UPPER(CITY) it would be less work since most cities start with upper case letter (maybe some dutch do not!) - I had trouble with the ending group (I thought I could get it done with just one grouping at first)