Filter out Duplicates

Ste4en

Registered User.
Local time
Today, 23:47
Joined
Sep 19, 2001
Messages
142
I have a table which contains some duplicate records - some fields duplicated, some different for example:

Equip_No, Name
121X, shaft
123X, motor
123X, motor starter
124X, timer

I want a query filter so that only one of the 123X rows so I have a unique list of Equipment Numbers, I also need the Name (any one of the two will do)

Equip_No, Name
121X, shaft
123X, motor starter
124X, timer

OR

Equip_No, Name
121X, shaft
123X, motor
124X, timer

WOULD WORK

Any Ideas?

Thanks
 
You could make a query with the numbers on "group by" and the name on "min".

Roelof
 
use the word DISTINCT in your SQL statement.
 

Users who are viewing this thread

Back
Top Bottom