查找SQL多列记录重复数据?
select A,G,COUNT(*) FROM popu GROUP BY A,G HAVING COUNT(*)>1 其他列只能任取一个了,不同的数据库函数会不同,例如: select A,G,max(B),last(C),first(D),COUNT(*) FROM popu GROUP BY A,G HAVING COUNT(*)>1