a Dy Ff ss Pre C q
FIRST_AL 8 0 0 0 0 2 0
GROUP C1 0 0 0 0 0 0 0
GROUP C2 0 0 0 0 0 1 0
GROUP D1 0 0 0 0 0 0 0
GROUP D2 0 0 0 0 0 0 0
GROUP E 0 0 0 0 0 0 0
FIRST_AL ----> resultset stored in Arraylist
From Group C1 to Group E are result set stored in Second ArrayList
The required or the the output expected is SUM of these elements from ArrayList 1 and ArrayList 2
The SUM is required column wise i.e
TOTAL 8 0 0 0 0 3 0
Please can anyone help me out on this regard , or is it possible through SQL
I have no idea about how to get solution so im not able to post what i have tried