以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  有关或与条件查询  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=2643)

--  作者:baoxyang
--  发布时间:2009/4/30 11:23:00
--  有关或与条件查询
"select * from 入库 where 入库单号 Like \'%IP%\' and (状态 = "库存" or 状态 = "红冲")"
也就是含and 及 or 时如何使用?

--  作者:ybil
--  发布时间:2009/4/30 11:47:00
--  
"select * from 入库 where 入库单号 Like \'%IP%\' and 状态  In (\'库存\', \'红冲\')"

--  作者:baoxyang
--  发布时间:2009/4/30 12:01:00
--  

知道了.为谢