标签:
3、查找表中多余的重复记录(多个字段) select * from vitae awhere (a.peopleId,a.seq) in (select peopleId,seq from vitae group by peopleId,seq having count(*) > 1)
注意这里 in可以有多个字段
查找表中多余的重复记录(多个字段)
原文地址:http://www.cnblogs.com/muxueyuan/p/5635230.html