Basically, I have a table for users and a column that stores an integer. I want to take all rows from that table and find the sum of them. The only way I can think to do this would be to loop through all the rows and add them together one by one. However, that seems quite inefficient and I’m sure there’s a better way.
Anyone know of one?
1 Answer