Show me the names of all parties of the representative.
select distinct party from representative
Show me the names of all the representatives.
select name from representative
What are their votes?
select t2.name,t1.votes from election as t1 join representative as t2 on t1.representative_id = t2.representative_id
What is the party of the one with the smallest number of votes?
select t2.party from election as t1 join representative as t2 on t1.representative_id = t2.representative_id order by votes asc limit 1