sql查询一列 重复的数据

select * from 表 where num  in(select num  from 表 group by num having count(num)>1)

原文地址:https://www.cnblogs.com/yangjinwang/p/4309228.html