You could use a regular expression:
SELECT DISTINCT city
FROM station
WHERE city RLIKE '^[aeiouAEIOU].*[aeiouAEIOU]$'
More Related Contents:
- Recreating a query using INNER JOIN? [duplicate]
- What is better subquery vs literal on IN clause in mysql
- SQL query return data from multiple tables
- quick selection of a random row from a large table in mysql
- MySQL SELECT only not null values
- Ordering by specific field value first
- SELECT / GROUP BY – segments of time (10 seconds, 30 seconds, etc)
- Checking multiple columns for one value
- MySQL #1093 – You can’t specify target table ‘giveaways’ for update in FROM clause
- MySQL INSERT INTO … VALUES and SELECT
- MySQL error 1241: Operand should contain 1 column(s)
- How to select one row randomly taking into account a weight?
- quick selection of a random row from a large table in mysql
- Compare only day and month with date field in mysql
- Syntax error when using except in a query
- SELECT query return 1 row from each group
- MySQL INNER JOIN select only one row from second table
- MySQL Select Query – Get only first 10 characters of a value
- How to SELECT by MAX(date)?
- Which DB technology is sued to solve the following search issue? [closed]
- MySQL – Operand should contain 1 column(s)
- mysql pivot/crosstab query
- MySQL: Split comma separated list into multiple rows
- Remove Primary Key in MySQL
- Get most recent row for given ID
- Is merge statement available in MySQL
- Mysql covering vs composite vs column index
- Insert/ Update random date in MySQL
- Replace null with 0 in MySQL
- SQL (MySQL) vs NoSQL (CouchDB) [closed]