Jul 25, 2003 #1 toomee Technical User Jan 28, 2003 10 TH How can I find the duplicate rows in mysql and also make it unique. Thanks a lot
Jul 25, 2003 #2 swampBoogie Programmer Jan 6, 2003 1,660 SE Code: select c1,c2 from t group by c1,c2 having count(*) > 1 SQL has two mechanisms for avoiding duplicity, primary keys and unique constraints. Do a search in the docs at http://www.mysql.com for more information. Upvote 0 Downvote
Code: select c1,c2 from t group by c1,c2 having count(*) > 1 SQL has two mechanisms for avoiding duplicity, primary keys and unique constraints. Do a search in the docs at http://www.mysql.com for more information.