Possible Duplicate:
Mysql rank function
I have the following table in MySQL:
===================================================================
id | member| total_correct_question | time_taken_in_seconds |
===================================================================
1 | abc | 2 | 4 |
2 | def | 3 | 6 |
3 | ghi | 3 | 4 |
4 | jkl | 3 | 5 |
====================================================================
I want to show the rank of each user from mysql query. Can any one suggest me a query for this?