Connecting Tech Pros Worldwide Help | Site Map

Deleting duplicate entries from database table

Manish
Guest
 
Posts: n/a
#1: Jul 7 '06
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 |
-------------------------------------------------------
Quote:
Quote:
>Execute single query (MySQL Version: No Restriction), with sub-query or some other method
Quote:
Quote:
>After executing the query
-------------------------------------------------------
| name | address | phone |
-------------------------------------------------------
| mr x | 8th lane | 124364 |
| mr x | 6th lane | 435783 |
| mrs x | 6th lane | 435783 |
-------------------------------------------------------
Quote:
Quote:
>Please suggest on this
Closed Thread