How to find the city name not starting and ending with a vowel

前端 未结 4 667
太阳男子
太阳男子 2021-01-28 04:56

I\'m trying to query the list of CITY names from STATION that do not start with vowels and do not end with vowels. The result cannot contain duplicates.

At first I tried

4条回答
  •  广开言路
    2021-01-28 06:01

    select distinct city from  station where regexp_like(city, '^[^EUIOA].*[^euioa]$');
    

提交回复
热议问题