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