34,588
社区成员
发帖
与我相关
我的任务
分享
select * from feng A where exists(select 1 from feng where a=a.a and b=a.b and checksum(a,b,c,d)<>checksum(a.a,a.b,a.c,a.d))
select *
from feng f
where exists (
select 1 from ( select a,b from feng group by a,b having count(1)>1 ) as b
where f.a=b.a and f.b=b.b
)