For each party, return the name of the party and the number of delegates from that party.
SELECT T2.Party ,  COUNT(*) FROM election AS T1 JOIN party AS T2 ON T1.Party  =  T2.Party_ID GROUP BY T1.Party
name of the party refers to T2.Party; number of delegates from that party refers to COUNT(*); joining tables to match parties with their delegates involves JOIN on T1.Party = T2.Party_ID; grouping results by party to calculate counts per party involves GROUP BY T1.Party;