My question is there is duplicate records that are in two tables. The first table is called Contacts. The unique Identifier is usage_indicator and name. I tried doing this:
Delect ABMcontacts
where usage_indicator not in
(select min (usage_indicator)
from ABMcontacts group by usage_indicator, name)
and name not in
(select min (name)
from ABMcontacts group by usage_indicator, name)
this runs for over an hour and does not do anything. Is there a way to pull duplicate records based on the usage_indicator and name and delete then?
Thanks!
Delect ABMcontacts
where usage_indicator not in
(select min (usage_indicator)
from ABMcontacts group by usage_indicator, name)
and name not in
(select min (name)
from ABMcontacts group by usage_indicator, name)
this runs for over an hour and does not do anything. Is there a way to pull duplicate records based on the usage_indicator and name and delete then?
Thanks!