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)

猜你喜欢

转载自happyqing.iteye.com/blog/1826884