thank you for taking the time to look at this. I have a simple table that I am trying to update based on the entries.
table name is TOPUSER and there us a field called tu_total and tu_rank, I would like to look through this data and see if there are tu_total that are the same and if so those records get the same tu_rank and the tu_rank. the ranking starts out at 1 and goes up from there. Also if a users have a 0 value in tu_total then they all would get the next number above the last user's tu_rank who actually has data in their tu_total.
Here is a sample of what it currently looks like:
So as you can see Mark and Bill have the same values of tu_total = 3
So it should look like this:
Best Answer
This will display the rank you requested
If
TOPUSER
has anid
field, here is the update of the rankSAMPLE DATA
UPDATE EXECUTED
GIVE IT A TRY !!!