You are viewing a single comment's thread. Return to all comments →
MY SQL: SELECT DISTINCT CITY FROM STATION WHERE 1=1 AND RIGHT(CITY,1) NOT IN ('a','e','i','o','u') AND LEFT(CITY,1) NOT IN ('a','e','i','o','u')
Seems like cookies are disabled on this browser, please enable them to open this website
I agree to HackerRank's Terms of Service and Privacy Policy.
Weather Observation Station 12
You are viewing a single comment's thread. Return to all comments →
MY SQL: SELECT DISTINCT CITY FROM STATION WHERE 1=1 AND RIGHT(CITY,1) NOT IN ('a','e','i','o','u') AND LEFT(CITY,1) NOT IN ('a','e','i','o','u')