首页 > 代码库 > 删除重复数据

删除重复数据

delete from cbe_subscriber a
  where rowid !=(select max(rowid) 
            from cbe_subscriber b
          where a.SUBSCRIBERKEY=b.SUBSCRIBERKEY
                  and a.APPLYTIME=b.APPLYTIME);

删除重复数据