Answer the question
In order to leave comments, you need to log in
Top players. How to display the place of a specific player?
There is MS SQL and such a table, a fragment is shown:
id (unique key)
score (index by score DESC)
To get the top, it executes 2 queries:
SELECT TOP 100 id, score FROM table ORDER BY score DESC;
SELECT score FROM table WHERE [email protected];
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question