Akumadevil
Programmer
Hi,
I have a query that returns 100 rows. Each row has an amount and a name.
What I would like to do is group the 100 rows as follows:
rows 1-50 - sum(amount)
rows 51-75 - sum(amount)
rows 76-100 - sum(amount)
so the end output might be:
SUM(AMOUNT)
10000
5000
5000
Any help would be greatly appreciated.
I have a query that returns 100 rows. Each row has an amount and a name.
What I would like to do is group the 100 rows as follows:
rows 1-50 - sum(amount)
rows 51-75 - sum(amount)
rows 76-100 - sum(amount)
so the end output might be:
SUM(AMOUNT)
10000
5000
5000
Any help would be greatly appreciated.