SQL查询重复记录

SQL查询重复记录
select column1 from table
  where column1 in 
    (
      select column1 from table
      group by column1
      having(count(*)>1)
    ) 

 

posted on 2010-09-29 16:07  陈建峰  阅读(339)  评论(0编辑  收藏  举报

导航