Thread: Top 3rd value
View Single Post
  #2 (permalink)  
Old 07-22-2007, 05:27 PM
Unregistered
 
Posts: n/a
Smile ANY answer. Re: Top 3rd value

Hi,
This is the query which will give top 3rd and 4th value.
select *
from(select * from Your_table order by somecoloum desc)
where rownum<5
Minus
select *
from( select * from Your_table order by somecoloum desc)
where rownum<3 ;

Bye
Sheetal
Reply With Quote