help here! the classic use of dense_rank()?


  • 0
    R

    I will appreciate it so much if anyone can help me.
    How come the below codes won't be ACed?
    Isn't it the classic use of dense_rank()?
    here's the codes:
    select Score
    dense_rank()over(order by Score desc) as Rank
    from Scores

    Thx again!


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.