oracle 查询表中重复数据

select * from tablename where id in (
select id from tablename 
group by id 
having count(id) > 1
)

原文地址:https://www.cnblogs.com/pxkuan/p/9986976.html