Re: Rank/Dense_Rank - What function am I looking for?

From: Andy Sayer <andysayer_at_gmail.com>
Date: Fri, 3 Apr 2020 21:34:23 +0100
Message-ID: <CACj1VR6CKo=tx9MHYBqs1+YE=VaebM9gNUZ28X_u4pmNhaaD8w_at_mail.gmail.com>



It sounds like you’re after plain old row_number.

Thanks,
Andrew

On Fri, 3 Apr 2020 at 21:33, Ethan Post <post.ethan_at_gmail.com> wrote:

> I have a data set with groups of 40 rows. I need to rank 1-40 in each set
> for charting order by amount. In some cases amounts are all the same or
> some are. I still need to order 1-40 without any skips or duplicates. I can
> write a process that does this but thought there was a function for it.
> Rank and Dense Rank don't work because you get duplicate ranks when amount
> is the same. Maybe doesn't exist. Just checking.
>
> Thanks,
> Ethan Post
> FarmPulse360.com
>
>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Apr 03 2020 - 22:34:23 CEST

Original text of this message