SELECT col_name,COUNT(*) FROM table_name GROUP BY col_name HAVING COUNT(*) > 1
其中col_name为要查重的列名,table_name是表名