SELECT CONCAT("INSERT INTO OLD_CURRICULAR_COURSE_CURRICULAR_COURSE_EQUIVALENCE (KEY_CURRICULAR_COURSE, KEY_CURRICULAR_COURSE_EQUIVALENCE) VALUES (", CURRICULAR_COURSE_EQUIVALENCE.KEY_OLD_CURRICULAR_COURSE,",", CURRICULAR_COURSE_EQUIVALENCE.ID_INTERNAL,");") AS "" FROM CURRICULAR_COURSE_EQUIVALENCE;