Adding a calculated column is quite easy, but I cant seem to obtain any code for calculating and insert a calculated row.
Now I know that the DB structure is not very good, but it is what it is.
The table looks as follows:
DealerCode Ratio_ID Month1 Month2
000001852 0000428 1752.00 2500.00
000001852 0000429 0000.00 0000.00
000001852 0000430 0001.00 0002.00
Now I want to add Ratio_ID 0000431 which adds the 1752.00, 0.00 and 1.00 (Ratio_ID 0000428 0000429 + 0000430) for Month1, and the 2500 for Month2 in the next row.
In other words an additional calculated row would be added as follows: The table looks as follows:
DealerCode Ratio_ID Month1 Month2
000001852 0000431 1751.00 2502.00
How would I do that?