Finding Duplicates (or records with more than 1 item)

SELECT
DISTINCT id.
COUNT(id)
FROM
my_table
GROUP BY
id
HAVING
COUNT(id) > 1

Leave a Reply