The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I don't have any data to test this query on.
[sql]SELECT sum( reputation ) AS totalscore, sum( abs( reputation ) ) AS totalpoints, count( DISTINCT whoadded ) AS uniqueusers, count( reputationid ) AS totalratings FROM reputation GROUP BY userid[/sql] Does it look like it retrieves, for every user who has reputation at all:
Or if anybody has a reputation table filled with data I can play with, that would work too. |
![]() |
|
|