查找表中的重复行

查找表中的重复行


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

posted @ 2016-03-17 12:05  牛腩  阅读(197)  评论(0编辑  收藏  举报