要加入括号 最后写and 条件,然后or多条件里面自动需要加入 ,, 不然也会出现问题
sql="select Guan_A_Info.IID,Guan_A_Info.SID,Guan_A_Info.CID,Guan_A_Info.OID,Guan_A_Info.SameContent,Guan_A_Info.DiffContent1 from Guan_A_Info where (vip like '%,vip5,%' or vip like '%,vip9,%') and SID="&sid |