Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Analytics or not
Christo,
It is the similar:
select col1
from (select col1, max(nbr) over (partition by col1
order by col1)
mnbr
from (select col1, row_number() over (order by col1) nbr
from tbl))
Regards,
Zoran
-- http://www.freelists.org/webpage/oracle-lReceived on Fri Apr 08 2005 - 16:49:20 CDT
![]() |
![]() |