How do I write a sql query to select names that can contain any vowel?
I am trying to query a database with about 2000 records. I want to select records where names can contain any vowel.
I tried using the following query, but it gives me those entries that contain all the characters specified in that order.
select * from myTable where name like '%a%e%i%';
How to change the above query to select those records with names that can contain at least one of the vowels.
+3
source to share