I
I love SQL... :S
Hi everyone,
I'm new here, so forgive me if something like this has been posted many
times.
I have some massive tables, one of which has duplicates in various fields.
As such, I had to import the date into Access without any primary key, but
it's imperative that I of course only have unique records based on ONE field
which I'll call Fld1 below. So here is an example of my problem.
Fld1(PK) Fld2 Fld3
001 ABC ABC
001 AAA ABC
The differences are merely typos, so selecting any one of the duplicate rows
would be fine. So any ideas how to do this? I've tried just taking the
unique Fld1 via SELECT DISTINCT Fld1 FROM THETABLE but then of course trying
to link it back, I still end up with every single record from "THETABLE"!!!
I hope this makes sense somehow and someone can please help me ASAP! There
must be something simple and obvious I've forgotten or don't know? :'(
Thanks very much,
Rachel
I'm new here, so forgive me if something like this has been posted many
times.
I have some massive tables, one of which has duplicates in various fields.
As such, I had to import the date into Access without any primary key, but
it's imperative that I of course only have unique records based on ONE field
which I'll call Fld1 below. So here is an example of my problem.
Fld1(PK) Fld2 Fld3
001 ABC ABC
001 AAA ABC
The differences are merely typos, so selecting any one of the duplicate rows
would be fine. So any ideas how to do this? I've tried just taking the
unique Fld1 via SELECT DISTINCT Fld1 FROM THETABLE but then of course trying
to link it back, I still end up with every single record from "THETABLE"!!!
I hope this makes sense somehow and someone can please help me ASAP! There
must be something simple and obvious I've forgotten or don't know? :'(
Thanks very much,
Rachel