欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

查询表A中存在ID重复三次以上的记录

程序员文章站 2022-03-02 19:11:55
Select * From A Where id in(select ID from A group by id having count(id)>3) ......
select * from a where id in(select id from a group by id having count(id)>3)