select concat('update STUDENT_CURRICULAR_PLAN set KEY_MASTER_DEGREE_THESIS = ',ID_INTERNAL,' where STUDENT_CURRICULAR_PLAN.ID_INTERNAL = ',KEY_STUDENT_CURRICULAR_PLAN,';') as "" from MASTER_DEGREE_THESIS;
