select出ID不等于23,44,55的数据select出ID不等于23,44,55的数据。我用的方法是select*fromtablewhereID
select出ID不等于23,44,55的数据
select出ID不等于23,44,55的数据。
我用的方法是
select * from table where ID <> 23 AND ID <> 44 AND ID <> 55
还有其他的方法吗
[解决办法]
not in
[解决办法]
select * from table where ID not in(23,44,55)
