What are the distinct last names of the students who have class president votes?
select distinct t1.lname from student as t1 join voting_record as t2 on t1.stuid = t2.class_president_vote