Re: Sorting table and then look for ID
That was just what i was looking for!
The only problem now is just intergrating the WHERE fuction to look for a specific ID and return the row so i can retrive the data, can you explain how i would do that? This is not mentioned as far as i can see. I've been searching the hole internet all day for this, you helped me so much thanks!
Im using this code so far:
SELECT
Id, userName, totalScore,
Row_Number() OVER w AS 'rank'
FROM scoreboard_table WINDOW w AS (ORDER BY totalScore DESC) LIMIT 10
Subject
Written By
Posted
November 05, 2021 08:19AM
November 05, 2021 09:12AM
Re: Sorting table and then look for ID
November 05, 2021 10:01AM
November 05, 2021 11:47AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.