ID Name Intro
1 aaaa null
2 bbbb null
3 cccc null
4 dddd null
5 eeee null
6 ffff null
7 hhhh nullselect * from tab where id=intID 并且 ID不等于2怎么写,谢谢。
1 aaaa null
2 bbbb null
3 cccc null
4 dddd null
5 eeee null
6 ffff null
7 hhhh nullselect * from tab where id=intID 并且 ID不等于2怎么写,谢谢。
select * from tab where id=intID and id<>2
就这么写啊,