HackerRank MySQL - Weather Observation Station 9




Query the list of CITY names from STATION that do not start with vowels. Your result cannot contain duplicates.



  1. SELECT DISTINCT CITY
  2. FROM STATION
  3. WHERE UPPER(SUBSTR(CITY, 1, 1)) NOT IN ('A','E','I','O','U');




codesadda.com

Codesadda.com is your home of programming solutions, tutorials, video tutorials and much more. Sign Up for our weekly newsletter to get update about new content.

Like us on Facebook | Connect with us on LinkedIn | Subscribe our Channel on Youtube