1: 2: 3: 4: 5:
update A set parent = B.[key] from people A inner join people B on A.parent = B.[index]