select * from t_user where not (a=10 and b=20) 只去掉 a=10 b=20的记录 id a b 1 10 20 2 10 21 3 10 22 4 12 20
sql筛选一条记录同时满足一个字段不等于10另一个不等于20
猜你喜欢
转载自ztao2333.iteye.com/blog/2333998
今日推荐
周排行