当前位置: 移动技术网 > IT编程>数据库>Oracle > oracle数据去重语句介绍

oracle数据去重语句介绍

2018年12月04日  | 移动技术网IT编程  | 我要评论

简单的一条语句:delete from 表名 where (id) in ( select id from 表名 group by id having count(id) > 1) and rowid not in (select min(rowid) from 表名 group by id having count(*) > 1);

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网