diff --git a/mysql/weather-observation-station-8/solution.sql b/mysql/weather-observation-station-8/solution.sql new file mode 100644 index 0000000..756495f --- /dev/null +++ b/mysql/weather-observation-station-8/solution.sql @@ -0,0 +1,6 @@ +SET @vowels = 'a,e,i,o,u'; + +SELECT DISTINCT CITY +FROM STATION +WHERE FIND_IN_SET(LEFT(CITY, 1), @vowels) +AND FIND_IN_SET(RIGHT(CITY, 1), @vowels); \ No newline at end of file