- Published on
Hackerrank - Weather Observation Station 12 solution
- Authors
- Name
- Imran Pollob
- Website
- @pollmix
Solution one:
SELECT DISTINCT CITY FROM STATION WHERE CITY REGEXP '^[^AEIOU].+[^AEIOU]$';
SELECT DISTINCT CITY FROM STATION WHERE CITY REGEXP '^[^AEIOU].+[^AEIOU]$';