`
baobeituping
  • 浏览: 1041248 次
  • 性别: Icon_minigender_1
  • 来自: 长沙
社区版块
存档分类
最新评论

查找表中的重复数据

 
阅读更多

 

select *
  from person
 where id in
 (
    select id
      from person_main
     group by id
    having (count(*) > 1)
 )

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics