Select * from yourTable where 产品 like '%玩具%'orSelect * from yourTable where charidnex('玩具',产品) > 0

解决方案 »

  1.   

    Select * from yourTable where 产品名称 like '%玩具%'orSelect * from yourTable where charidnex('玩具',产品名称) > 0
      

  2.   

    什么意思?select * from 表 where 产品 in (select 玩具 from 表)吗??select * from 表 where 产品='玩具'??
      

  3.   

    就是,按照select * from 表 where 产品='玩具'  就可以了-_-;请问大力,我希望查询从一个asp:textbox内获取的值,该怎么写?