The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
how do i add a certain field together for all columns? for instance, on 'user' i have a field called 'donations' which stores how much money a user has donated. how do i add all users' donations together?
|
#2
|
||||
|
||||
![]()
Here's the query:
Code:
SELECT SUM(donations) AS total FROM user; |
#3
|
|||
|
|||
![]()
thanks
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|