Task: Text to Code
Input (English): SQL: SELECT DISTINCT LName FROM Student WHERE Advisor = 8741
Feedback: Ensure that those student have president votes .
Output (English): SELECT DISTINCT T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID  =  PRESIDENT_Vote INTERSECT SELECT DISTINCT LName FROM STUDENT WHERE Advisor  =  "8741"