tnguyen315
MIS
Let me explain this,
the query result:
ID VisitDate
125 1/1/2012
125 8/25/2012
125 1/8/2013
257 6/7/2012
257 9/15/2012
257 3/15/2013
257 6/1/2013
Now i would like to create another new column call "Previous Date" and pull data from VisitDate such as:
ID VisitDate Previous Date
125 1/1/2012
125 8/25/2012 1/1/2012
125 1/8/2013 8/25/2012
257 6/7/2012
257 9/15/2012 6/7/2012
257 3/15/2013 9/15/2012
257 6/1/2013 3/15/2013
Please help,
Thanks in advance.
Twee
the query result:
ID VisitDate
125 1/1/2012
125 8/25/2012
125 1/8/2013
257 6/7/2012
257 9/15/2012
257 3/15/2013
257 6/1/2013
Now i would like to create another new column call "Previous Date" and pull data from VisitDate such as:
ID VisitDate Previous Date
125 1/1/2012
125 8/25/2012 1/1/2012
125 1/8/2013 8/25/2012
257 6/7/2012
257 9/15/2012 6/7/2012
257 3/15/2013 9/15/2012
257 6/1/2013 3/15/2013
Please help,
Thanks in advance.
Twee