What are the name of parties of representatives?
select distinct party from representative
Show me the number of representatives in each party.
select party, count(*) from representative group by party
Give me the parties that have at least three of them.
select party from representative group by party having count(*) >= 3