Is it possible to update rows in a table based on what order that are sorted by......For example: say I have a row in my table which is a timestamp and a row in my table that is an integer(points). What I want to so is sort all results by timestamp and apply this formula to points.(Points=points+(101 - whatOrderYouAreListed)). It is hard to explain, but if you have the lowest timestamp, you get 100 points. If you have the second lowest timestamp, you get 99 points...and so on. Thank you for any help!
2007-02-04
05:52:15
·
2 answers
·
asked by
Jonathan D
1
in
Computers & Internet
➔ Programming & Design