22,209
社区成员
发帖
与我相关
我的任务
分享
delete from tb
where charindex(','+name+',',',a,b,')=0
delete from 表 where name!='a' and name!='b'
DELETE FROM TB WHERE NAME NOT IN (A,B) AND NAME IS NOT NULL
not in('a','b')
not exists
DELETE TB WHERE NAME NOT IN('A','B')