We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db0e6af commit a9b48c0Copy full SHA for a9b48c0
basic-select/weather-observation-station-8.sql
@@ -6,3 +6,9 @@ SELECT DISTINCT City
6
FROM Station
7
WHERE LEFT(City, 1) IN ('a', 'A', 'e', 'E', 'i', 'I', 'o', 'O', 'u', 'U') AND
8
RIGHT(City, 1) IN ('a', 'A', 'e', 'E', 'i', 'I', 'o', 'O', 'u', 'U');
9
+
10
+-- or
11
12
+SELECT DISTINCT city
13
+FROM station
14
+WHERE city REGEXP '^[aeiou].*[aeiou]$'
0 commit comments