Hi, Try ALTER IGNORE TABLE your_table ADD UNIQUE (column_where_you_dont_want_duplicates);
Regards, Jocelyn Fournier ----- Original Message ----- From: "Oswaldo Castro" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 26, 2002 8:20 PM Subject: Duplicate Keys > Hi List > > Sorry for the newbie question. > > Im new to MySQL. I have a table that I don't know how many duplicate records > it has, so how do I query and delete all the duplicate (or many multiple) > records from a MySQL table ? > > Thanks in advance > > Oswaldo Castro > > > > --------------------------------------------------------------------- > Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > > --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php