select (case when instr (x,'a')>0 or instr (x,'b')>0 or instr (x,'c')>0 then 1 else 0 end) from r
转载于:https://my.oschina.net/youfen/blog/1934809
select (case when instr (x,'a')>0 or instr (x,'b')>0 or instr (x,'c')>0 then 1 else 0 end) from r
转载于:https://my.oschina.net/youfen/blog/1934809