Here's something I use PHP to compute, but I'd like to know if it's possible to get the same result from using mysql instead.
If I have some data like this:
Person | Wins
Alice | 4
Bob | 2
Charlie | 4
The problem is I'd like to have the same rank if two or more persons score equally, like this.
Rank | Person | Wins
1 | Alice | 4
1 | Charlie | 4
2 | Bob | 2
Note that it's the actual number that's of intrest, sorting it in this order isn't the problem.
Any insight into how this is done would be appreciated, if it's even possible.