Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Problem with SQL
Hi, in SQL scripts, when i want to display say only the first 15 rows of a
sorted list i cant use the rownum because rownum only returns the raw row
number. does anyone know how to do this relative addressing,
eg if i want to display only the top 15 names of the following query what condition would i give :
select id, name, duration, total
from bill
where ?
i would greatly appreciate anyones help on this. thanks.
-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Fri Mar 12 1999 - 21:55:09 CST
![]() |
![]() |