Answers for "Query the list of CITY names from STATION that do not end with vowels. Your result cannot contain duplicates"

0

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

SELECT DISTINCT CITY FROM STATION WHERE CITY REGEXP '^[^aeiou].*[^aeiou]$';
Posted by: Guest on July-15-2021
0

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

select distinct city from station where city not regexp '^[aeiou]' or city not regexp '[aeiou]$';
Posted by: Guest on September-07-2021

Code answers related to "Query the list of CITY names from STATION that do not end with vowels. Your result cannot contain duplicates"

Browse Popular Code Answers by Language