查找表中的重复行

查找表中的重复行


select * from tb_producttype where protname in( 
select protname from tb_producttype group by protname having count(*)>1 
)

原文地址:https://www.cnblogs.com/niunan/p/5286837.html