I've got a query that returns the name
of a country, where the name must include all of the vowels (a,e,i,o,u).
I'd like to transform this:
SELECT name FROM world
WHERE name LIKE '%a%'
AND name LIKE '%e%'
AND name LIKE '%i%'
AND name LIKE '%o%'
AND name LIKE '%u%'
into a 2 line query. I tried this, but it didn't work:
SELECT name FROM world
WHERE name LIKE '%a%e%i%o%u%'
I though %a%e%i%o%u%
should've done it, but I guess I haven't fully grasped the concept yet.