INSERT INTO fetchmetrics.PH_Contact_Form_Change_Set ( comment )
VALUES ( 'Approve founding partner ___' );

UPDATE fetchmetrics.PH_Apply_Founding_Partner_Form AFPF
SET
      AFPF.is_approved = 1
    , AFPF.id_change_set = (SELECT CFCS.id_change_set FROM fetchmetrics.PH_Contact_Form_Change_Set CFCS ORDER BY CFCS.id_change_set DESC LIMIT 1)
WHERE AFPF.id_apply_founding_partner_form = NULL
;

SELECT *
FROM fetchmetrics.PH_Apply_Founding_Partner_Form
;

