Answers for "Query the list of CITY names ending with vowels (a, e, i, o, u) from STATION. Your result cannot contain duplicates."

SQL
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 string starts with vowels

select city from station where city REGEXP "^[aeiou].*";
Posted by: Guest on March-16-2020
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 ending with vowels (a, e, i, o, u) from STATION. Your result cannot contain duplicates."

Code answers related to "SQL"

Browse Popular Code Answers by Language