Quantcast
Viewing all articles
Browse latest Browse all 5

Find duplicate records in mysql

When you need to fetch duplicate records from mysql database , run below query in your phpmyadmin interface.

SELECT count('fieldname') AS c FROM 'tablename' GROUP BY 'fieldname1','fieldname1'
HAVING c>1


Filed under: MySql Tagged: mysql Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 5

Trending Articles