I am trying to make a voting system through a SQL server, and I can't get it right. What I am trying to do is get the party with the highest amount of votes.
SELECT COUNT(*)
FROM Vote
INNER JOIN Members ON Vote.Voted = Members.PartyName
WHERE (PartyName is the biggest one)
I expect something like [DEMS][8], or at the very least, the party name of the party with the highest votes.