Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 117 Bytes

find-duplicates-with-counts-in-mysql-table.md

File metadata and controls

3 lines (2 loc) · 117 Bytes

How to find duplicates with counts in MySQL

SELECT field, COUNT(*) c FROM table GROUP BY field HAVING c > 1;