日期:2014-05-16 浏览次数:20824 次
select * from A where ','
------解决方案--------------------
a1
------解决方案--------------------
',' like '%,5,%' or ','
------解决方案--------------------
a1
------解决方案--------------------
',' like '%,82,%'
select distinct t1.a1
from a t1,
(select REGEXP_SUBSTR('2,3,5,82,80', '[^,]+', 1, LEVEL) str
from dual
CONNECT BY LEVEL <= REGEXP_COUNT('2,3,5,82,80', ',') + 1) t2
where t1.a1 like '%'
------解决方案--------------------
t2.str
------解决方案--------------------
'%';