• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Fast an Easy SQL question!!

Al Neri

Diamond Member
I have a table as such:

UID...AccountID.....Instance.....Value
1.........1.....................1............100
2.........2.....................1............200
3.........2.....................2............200
4.........3.....................1............300
5.........4.....................1............400
6.........4.....................2............500
7.........4.....................3............600
8.........5.....................1............400


How can I have it add up all the instances for a single account and give me the totals, ie output


acct........total value
..1..........100
..2..........400
..3..........300
..4..........1500
..5..........400


Thanks!
 
Back
Top