I have the following columns in a table:
SCORE_ID SCORE_PERSON_ID SCORE_VOTE
The SCORE_PERSON_ID is a variable. I need to sum the SCORE_VOTE
I think either this is what you're asking for:
SELECT SUM(SCORE_VOTE) FROM WHERE SCORE_PERSON_ID =
or this:
SELECT SUM(SCORE_VOTE) FROM GROUP BY SCORE_PERSON_ID
Hope that helps. Good luck.