/ Published in: SQL
URL: http://www.iishacks.com/2008/01/18/find-duplicate-records-and-the-number-of-duplicates-in-sql-mysql/
Expand |
Embed | Plain Text
SELECT COLUMN, count(COLUMN) AS cnt FROM TABLE GROUP BY COLUMN ORDER BY cnt DESC
You need to login to post a comment.
