• rakesh ghodasara (1/14/2014)


    Use row_number function to get the ranks and add the current value to previous value

    This would be nice! I would make a small wager that its not possible with SQL because I can't think of a way to access a row from within the very query that has just emitted it! If you can post some code to disprove this, I would certainly be interested!