找出重复的数据。
select Email from Person group by Email having count(*) > 1;
select distinct p1.email from Person p1, Person p2 where p1.email = p2.email and p1.Id != p2.Id
posted on 2018-01-29 23:08 willaty 阅读(101) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 willaty Powered by .NET 9.0 on Kubernetes