USA_Chancer
New member
- Local time
- Today, 04:45
- Joined
- Dec 20, 2002
- Messages
- 9
Hiya - I created this simple delete query to delete all duplicate phone numbers from a master "Do Not Call List'...However it deletes ALL versions of the number from the table, including the original. What do I have to change so that it leaves 1 version of the number in the table?
thanks in advance -
In (SELECT [HOMEPHONE] FROM [Table Name] As Tmp GROUP BY [HOMEPHONE] HAVING Count(*)>1 )
thanks in advance -
In (SELECT [HOMEPHONE] FROM [Table Name] As Tmp GROUP BY [HOMEPHONE] HAVING Count(*)>1 )