SELECT {col_name}, COUNT({col_name}) AS dupe_cntFROM {table_name}GROUP BY {col_name}HAVING COUNT({col_name}) > 1ORDER BY COUNT({col_name}) DESC
SELECT {col_name},
COUNT({col_name}) AS dupe_cnt
FROM {table_name}
GROUP BY {col_name}
HAVING COUNT({col_name}) > 1
ORDER BY COUNT({col_name}) DESC
Replace: