怎样快速删除重复数据


怎样快速删除重复数据

文章插图
【怎样快速删除重复数据】delete from cbe_subscriber a where rowid !=(select max(rowid) from cbe_subscriber b where a.SUBSCRIBERKEY=b.SUBSCRIBERKEY and a.APPLYTIME=b.APPLYTIME);
delete from cbe_subscriber a
where rowid !=(select max(rowid)
from cbe_subscriber b
where a.SUBSCRIBERKEY=b.SUBSCRIBERKEY
and a.APPLYTIME=b.APPLYTIME);