G
Guest
Good morning,
I am trying to determine how best to calulate the variance between two
records. Any help would be greatly appreciated.
Price
------
2.53
2.62
2.59
2.61
2.57
I want to take the second record and divide it by the first resulting in
percentage change. So ((2.62/2.53) - 1) = .03557. But I want to do this for
each row in the table. So I will have a new column in my result set that
looks like:
Price_Delta
I am trying to determine how best to calulate the variance between two
records. Any help would be greatly appreciated.
Price
------
2.53
2.62
2.59
2.61
2.57
I want to take the second record and divide it by the first resulting in
percentage change. So ((2.62/2.53) - 1) = .03557. But I want to do this for
each row in the table. So I will have a new column in my result set that
looks like:
Price_Delta