I have a very simple database structure and am struggling to write a command to find the ranked position of the user.
------------------
id | average
------------------
1 | 79
------------------
2 | 99
------------------
3 | 22
How would I be able to find the ranked position of the user with id 1? #2 would be ranked 1st. I want the rank to be descending with the highest number in 1st place.