What are the distinct majors that students with treasurer votes are studying?
select distinct t1.major from student as t1 join voting_record as t2 on t1.stuid = t2.treasurer_vote