select concat("UPDATE PARTY SET KEY_PARTY_SOCIAL_SECURITY_NUMBER = ",ID_INTERNAL," WHERE ID_INTERNAL = ",KEY_PARTY,';') AS "" FROM PARTY_SOCIAL_SECURITY_NUMBER;

