22,210
社区成员
发帖
与我相关
我的任务
分享
delete a from tb a
where exists (select 1 from tb where name=a.name and cdefine1=a.cdefine1 and id>a.id)
delete
t
from
tb t
where
exists (select 1 from tb where name=t.name and cdefine1=t.cdefine1 and id>t.id)
delete t
from tb t
where exists (select 1 from tb where name=t.name and cdefine1=t.cdefine1 and id>t.id)