Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: SQL Select TOP in Oracle

Re: SQL Select TOP in Oracle

From: Sakharov J. <Sakharov_J._at_f17.n5025.z2.fidonet.org>
Date: Sat, 20 Jan 2001 17:25:18 +0300
Message-ID: <MSGID_mail.relex.ru_d276cba1@fidonet.org>

Select * from STUDENTS where DEPT =44 and rownum <11 order by STUID

JF ÐÉÛÅÔ × ÓÏÏÂÝÅÎÉÉ <1323053370%RRZ96.3505$wL5.47074_at_NewsReader> ...
>How do I limit the number of records returned in a select query i.e. in SQL
>Server 7+ the following works
>
>Select Top 10 * from STUDENTS where DEPT =44 order by STUID
>
>Which will return the first 10 students
>
>I've tried looking in Oracle docs and can't find an equivalent to TOP
>Help
>
>JF
>
>
>
Received on Sat Jan 20 2001 - 08:25:18 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US