I am attempting in SQL ONLY to eliminate any duplicate records.
I have the following two fields, with which I am working.
Dynamap_id is the field, which is duplicated as many a three times per dynamap_id number. The other field is recnum. This field is unique, and will later aid me is eliminating the duplicates by forming a outside join between the query I am trying to build and the table with the duplicates.
I have tried a grouping with a "max(dynamap_id)". This does not work, because I must also must include the recnum in the group by clause. This causes the duplicates to remain. Perhaps a subquery would work best, but I am not sure just how to build it.
Any help would be appricated.
Dobe
I have the following two fields, with which I am working.
Dynamap_id is the field, which is duplicated as many a three times per dynamap_id number. The other field is recnum. This field is unique, and will later aid me is eliminating the duplicates by forming a outside join between the query I am trying to build and the table with the duplicates.
I have tried a grouping with a "max(dynamap_id)". This does not work, because I must also must include the recnum in the group by clause. This causes the duplicates to remain. Perhaps a subquery would work best, but I am not sure just how to build it.
Any help would be appricated.
Dobe