Deleting duplicate entries from database table

Suppose a table "address" contains the following records

-------------------------------------------------------
| name | address | phone |
-------------------------------------------------------
| mr x | 8th lane | 124364 |
| mr x | 6th lane | 435783 |
| mrs x | 6th lane | 435783 |
| mr x | 8th lane | 124364 |
-------------------------------------------------------

>> Execute single query (MySQL Version: No Restriction), with sub-query or some other method

>> After executing the query

-------------------------------------------------------
| name | address | phone |
-------------------------------------------------------
| mr x | 8th lane | 124364 |
| mr x | 6th lane | 435783 |
| mrs x | 6th lane | 435783 |
-------------------------------------------------------

>> Please suggest on this
Manish [ Fr, 07 Juli 2006 13:11 ] [ ID #1383278 ]
Datenbanken » mailing.database.mysql » Deleting duplicate entries from database table

Vorheriges Thema: InnoDB, 4.1.20, INS/DEL/TX -- Why table-level locking?
Nächstes Thema: Replace Function with Wildcards?