Hi
I have data that looks something like this
HTML Code:
year value
-------------
2009 1
2010 2
2011 3
2012 4
And I want to shift one column according
HTML Code:
year value
-------------
2009 2
2010 3
2011 4
2012
Also I want it to shift downwards
HTML Code:
year value
-------------
2009
2010 1
2011 2
2012 3
So far I am trying to use the year as a condition for shifting, but it doesn't work. Nothing happens to the table
Code:
USE SourceData ALIAS ss
SELECT psres4pcgb as Iorg,;
psres4pcgb as I WHERE year = year -1;
FROM ss INTO TABLE bbb
CLOSE TABLES
Any ideas? I have scouted the internet for solutions to this. But have found nothing of use. (I am crossing my fingers here

)