I am building my ranking using query like this:
SELECT * FROM users ORDER BY fame DESC;
I count position by incrementing a variable in rows loop
I want to add a ranking position to my profile sub-page, without fetching all the ranking first.
I thought of joining two queries, but I have no idea how to acheive this...