I've got two tables - members and sponsor, their simplified structure below.
members:
id_num
program_id
sponsor_program_id
sponsor:
id_num
sponsor
Some of the members in members table are sponsors. I need to update the field sponsor_program_id in all records in members table with their sponsors program_id field. Sponsor table tells me who their sponsor is, i.e. gives me their id_num back in members. So the contents of program_id of the sponsor goes into the sponsor_program_id of the person they sponsored.
I'm very new to this and I am lost! Can someone help?