select concat('update EXECUTION_COURSE set EXECUTION_COURSE.KEY_EVALUATION_METHOD = ', EVALUATION_METHOD.ID_INTERNAL, ' where EXECUTION_COURSE.ID_INTERNAL = ', EVALUATION_METHOD.KEY_EXECUTION_COURSE, ';') as "" from EVALUATION_METHOD;