Eliminating Duplicates

rkapfer

Registered User.
Local time
Today, 08:11
Joined
Jul 26, 2002
Messages
14
I've got a query that needs to make a table containing all fields from the source table for only unique phone numbers (multiple records contain the same phone number). Can I do this in one query?

SELECT DISTINCT [Student Info Table].[Parent 1 home phone], * INTO TABLE1
FROM [Student Info Table]
WHERE ((([Student Info Table].[Withdrawl Date]) Is Null) AND (([Student Info Table].[Stu Current Grade])<13) AND (([Student Info Table].[Contract Signed])=True));

This does not eliminate duplicates, I'm looking for an end result of only unique phone numbers along with the entire record.
 
Just a thought, when I do a query like that in Access, I use "Group By" to eliminate duplicates. Could that work for you?
DAKCG
 

Users who are viewing this thread

Back
Top Bottom