3
Answers

Cummulative Total to be displayed

Ramco Ramco

Ramco Ramco

6d
71
1

Hi

  I have below code and i want when Account changes cummulation should restart

SELECT
ROW_NUMBER() OVER (PARTITION BY Account ORDER BY A."Account") AS "Row No",
A."Account" AS "Account",(A."Debit") AS "Debit", (A."Credit") AS "Credit"
From Master A

Thanks

Answers (3)