Find Duplicate SQL records (with count output)

SELECT word,
COUNT(*) AS acount
FROM Words
GROUP BY word
HAVING ( COUNT(word) > 1 )

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.