To Mysql Team

how can I generate a list of deltas between columns in different rows for 
the entire table?
what I need is an sql command that does something like this:
for N =0 to i do : select "colA of current rowN" - "colA of pervious 
row(N-1)" from tab1;

ColA = floating point number.

Thanks 


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to