I have table which has columns for credit and debit account as rows of periods '1-12' and also a opening balance which should carry into each period.
Table
Account |Period |Credit |Debits |Opening Balance
1000 1 100 0 50
1000 2 0 100 50
. . . . .
. . . . .
1001 1 50 0 100
1002 1 40 0 100
But my problem here is can I duplicate or create 12 row with opening balance in each row for account 1001 and 1002??