I have been struggling with the following problem for a long time.
I have an experience table like this
id | uid | positive | negative
uid – gains the experience
positive – is the experience positive?
negative – is the experience negative?
The user table look like this
id | username | password
But how can I count the net experience for a user? How can I determine if the net experience is positive or negative with a query?
This shows you the net experience per user.
What do you mean with collect it?