I am having data like below which included mince and plus values.
AccCode Value
------------------------
1-2110 2000
1-3110 -100
2-4110 -400
4-5100 1000
I need below out put without creating a temporary SQL table
AccCode Debit Credit
1-2110 2000 0
1-3110 0 -100
2-4110 0 -400
4-5100 1000 0
Can anybody help me?
..
`, `` or ` ` tags, either!! – marc_s Dec 02 '14 at 12:33