Skip to content
Advertisement

How can I use rank function to solve this?

I have this data:

enter image description here

and I want to this result:

enter image description here

So I ve tried this:

but it did not solve my problem. How can I solve this issue?

thanks in advance

Advertisement

Answer

DENSE_RANK not RANK:

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement