I have a table as:
Item Value CreatedDate
A 100 12/01/2009
A 110 12/02/2009
A 150 12/05/2009
How to make a result as below:
Item Value CreatedDate
A 100 12/01/2009
A -100 12/02/2009
A 110 12/02/2009
A -110 12/05/2009
A 150 12/05/2009
The new record inserted is the same Item with reverse value of most recent record and CreatedDate is the datetime of current record. The last record with max date is remain
Tks very much