1、查找单个字段
select 字段名,count(*) from table group by 字段名 having count(*) > 1
2、查找组合字段:
SELECT TEST_NAME1,TEST_NAME2,COUNT(*) FROM table GROUP BY TEST_NAME1,TEST_NAME2 HAVING COUNT(*) > 1