Sum up the records in table
Hi Guys I got an iIdea from previous post to show my problem.
below is the result of my query.
AcctNO | COUNT |
----------------------------------------
11111 | 10 |
11111 | 20 |
11111 | 30 |
11111 | 40 |
22222 | 20 |
22222 | 30 |
22222 | 40 |
22222 | 50 |
heres the result what I want.
AcctNO | COUNT |
----------------------------------------
11111 | 10 |
11111 | 20 |
11111 | 30 |
11111 | 40 |
Total | 100 |
22222 | 20 |
22222 | 30 |
22222 | 40 |
22222 | 50 |
Total | 140 |
I know it can't be done it SQL command.
how can I Display it in HTML
Thanks
|