SELECT SUM(col1) col1_sum, SUM(col2) col2_sum FROM table [download]
In reply to Re: Using += in array context by Spudnuts in thread Using += in array context by grinder