日期:2014-05-16  浏览次数:20512 次

oacle删除重复记录

?

delete from t_insure_feed where user_id in (select user_id from t_insure_feed group by user_id having count(*)>1);

delete from T_INSURE_FEED where rowid not in (select max(rowid) from T_INSURE_FEED group by user_id)