Quantcast
Channel: mysql – PHP Web Developer
Viewing all articles
Browse latest Browse all 5

Find duplicate records in mysql

$
0
0

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

Viewing all articles
Browse latest Browse all 5

Trending Articles