Who are the professors who gave advice to students in the 12th years of program?
professors refers to p_id_dummy; 12th years of program refers to yearsInProgram = 'Year_12'
SELECT T1.p_id_dummy FROM advisedBy AS T1 INNER JOIN person AS T2 ON T1.p_id = T2.p_id WHERE T2.yearsInProgram = 'Year_12'