查找名称中包含字母元组的emp详细信息的查询是什么?(oracle数据库)

时间:2016-07-24 05:54:15

标签: oracle

Emp Table
---------------
empid     ename       sal        hiredate
101       ashish      5000       23-jul-2016
102       ankith      20000      21-sep-2012
103       uma         3000       10-jan-2004

1 个答案:

答案 0 :(得分:1)

您可以使用REGEXP_LIKE

select * from my_table 
WHERE REGEXP_LIKE (ename, '([aeiou])');

忽略大小写

select * from my_table 
WHERE REGEXP_LIKE (ename, '([aeiou])', 'i');