Link to home
Start Free TrialLog in
Avatar of zachvaldez
zachvaldezFlag for United States of America

asked on

Update records in same table

I have the following records in my temporary  table which I have duplicates I am working: I would like the schoolID match.

tempid        fullname            FirstLastName            schoolid      birthdate         ssn              sourceid
35              John H Smith     John smith                  77777          01/0179      999-99-9999    JXX5
89               John Smith       John Smith                  66666          xxxxxx        xxxxxx            FFF7
 this is just an example but I have a 100 pairs in my  temp table and I am looking for a solution to automate the update.
My objective is to make the schoolid match. In here, I would like update tempID 89 to the same schoolid like tempid 35 -77777.  I would prefer sourceid FFF7 follow and match all schoolIds of sourceid JXX5.

thanks!


Avatar of derekkromm
derekkromm
Flag of United States of America image

What criteria are you using to consider a record as a duplicate? Just the FirstLastName column?
Avatar of zachvaldez

ASKER

yes
ASKER CERTIFIED SOLUTION
Avatar of derekkromm
derekkromm
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial