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)) where mnbr<10; Regards, Zoran --- Christo Kutrovsky <kutrovsky.oracle@xxxxxxxxx> wrote: > I didn't see Mike's answer, can you or Mike forward > it ? I am curious > to see his solution. > __________________________________ Do you Yahoo!? Yahoo! Personals - Better first dates. More second dates. http://personals.yahoo.com -- //www.freelists.org/webpage/oracle-l