Question: Find the distinct first names of all the students who have vice president votes and whose city code is not PIT.
Schema: create table student (fname varchar, city_code varchar, PRIMARY KEY (fname)); create table student (fname varchar, stuid varchar, PRIMARY KEY (fname)); create table voting_record (vice_president_vote varchar, PRIMARY KEY (vice_president_vote))
SQL: select distinct t1.fname from student as t1 join voting_record as t2 on t1.stuid = t2.vice_president_vote except select distinct fname from student where city_code = "pit"