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'
database name:db_id computer_student
course table course Cols: course id dtype integer, course level dtype text, 
person table person Cols: person ID dtype integer, professor dtype integer, student dtype integer, has position dtype text, in phase dtype text, years in program dtype text, 
advisedBy table advisedBy Cols: person id dtype integer, person id dummy dtype integer, 
taughtBy table taughtBy Cols: course ID dtype integer, person ID dtype integer, 
