So I don't forget it...
Thursday, September 19, 2013
Selecting and displaying duplicates in a MySQL DB:
SELECT *
FROM table
WHERE column IN (
SELECT column
FROM table
GROUP BY column
HAVING (COUNT(column) > 1)
)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment