sql server 查询重复的数据

select *
from
表名
where
字段A in

(select 字段A from 表名(同上) group by 字段A having count(1)>1)

原文地址:https://www.cnblogs.com/shuzehui/p/1884833.html