Filtering out duplicate data point?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi:

I have not worked with MS Access in a while (5 yrs) and need help to filter
150,000 data points. I am trying to determine unique entries base on several
key criterias. I did import the data from our database with ease. Any help
would be great.

Thanks,

Hank
 
Use a GROUP BY query. List, in the group, the fields that, together, define
'being unique'. In the select clause, aggregate other fields that 'goes'
with the fields in the group, without defining what is to be consider in
being unique, with LAST (or with FIRST):


f1 f2 f3 'fields
10 QW Joe Smith
10 QW Smith, Joe
11 QW Mary Ann ' data



SELECT f1, f2, LAST(f3)
FROM mytable
GROUP BY f1, f2



will return one of the first two record, plus the third record. Here, f1
and f2 defines what is unique, and f3 is just an 'associated' information.



Hoping it may help,
Vanderghast, Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

append query exclude error data 1
Newbie: filtering out duplicates 2
Duplicating Data 8
Question about Query criteria 1
unique records Access 2003 2
refer to form filter 1
Finding Duplicates 4
Access Auto Matching Duplicates? 0

Back
Top