sql server 查询重复的数据

select *
from
表名
where
字段A in

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

posted @ 2010-11-22 22:18  【舍予】  阅读(501)  评论(0编辑  收藏  举报