select * from aaa where bbb.IndexOf("cc")!=-1 and bbb.IndexOf("d")!=-1

解决方案 »

  1.   

    select * from aaa where bbb like '%cc%' and  bbb like '%d%'
      

  2.   

    同时包含用 and 只包含一个用 or
      

  3.   

    select * from aaa where bbb.IndexOf("cc")!=-1 and bbb.IndexOf("d")!=-1 强一点
      

  4.   

    select * from aaa where bbb.IndexOf("cc")!=-1 and bbb.IndexOf("d")!=-1
    看不出它会强一点,能解释一下吗?