Question: Find the distinct first names of the students who have class senator votes.
Schema: create table student (fname varchar, stuid varchar, PRIMARY KEY (fname)); create table voting_record (class_senator_vote varchar, PRIMARY KEY (class_senator_vote))
SQL: select distinct t1.fname from student as t1 join voting_record as t2 on t1.stuid = t2.class_senator_vote