I'm developing a system to allow users to vote on different subjects using a Yes / No / Maybe question set.
Each question will be weighted as 2 (Yes) / 0 (No)/ 1 (Maybe) NOTE(The users will be voting multiple times, potentially huge amounts)
My plan is to store the answers in a mysql db.
Do I store each vote separately? (ID/Vote/)
What is a proper query to tally the vote results?
What is the most efficient way to store and retrieve the results? Should I have a table that stores the vote scores?