Find the distinct majors of students who have treasurer votes.
select distinct t1.major from student as t1 join voting_record as t2 on t1.stuid = t2.treasurer_vote