select str1,str2,count(*) as count from table group by str1,str2 having count>1; #str1 ,str2是table表中的字段 #根据str1,str2为条件来进行查找重复数据

select str1,str2,count(*) as count from table group by str1,str2 having count>1; #str1 ,str2是table表中的字段 #根据str1,str2为条件来进行查找重复数据