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  峰见思维-陈建峰  阅读(346)  评论(0)    收藏  举报

导航