i have a table with fields: p,x,y,z,date
p being the common field with multiple values. for example:
p x y z date
100 2 2 2 oct 1 2011
100 3 3 3 oct 2 2011
100 3 4 5 oct 3 2011
100 4 4 4 oct 4 2011
how can i make a query to compare the data by the latest date to the previous date continuously as more data is added????
oct 4- oct3
p x y z
100 1 0 -1
oct 3- oct2
p x y z
100 0 1 2
PLEASE ACCESS GODS!!! I kneel in the shadow of your excellence.... HELP!!!
p being the common field with multiple values. for example:
p x y z date
100 2 2 2 oct 1 2011
100 3 3 3 oct 2 2011
100 3 4 5 oct 3 2011
100 4 4 4 oct 4 2011
how can i make a query to compare the data by the latest date to the previous date continuously as more data is added????
oct 4- oct3
p x y z
100 1 0 -1
oct 3- oct2
p x y z
100 0 1 2
PLEASE ACCESS GODS!!! I kneel in the shadow of your excellence.... HELP!!!