for (int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) {string sql3 = "select id,state from [StockState] where id = '" + (100000 + 100 * i + j) + "' ";这上面是一个循环,这么写,查不出数据,请问后面id怎么写运算表达式啊
2 回答
慕田峪7331174
TA贡献1828条经验 获得超13个赞
select * from a where b in(‘1’ , ‘2’, ‘3’) and c <> '4'
select * from a
where b like '%1%'
and b like '%2%'
and b like '%3%'
and c not like '%4%'
添加回答
举报
0/150
提交
取消