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

Home -> Community -> Usenet -> c.d.o.server -> Re: select limit rows

Re: select limit rows

From: Wim Valgaeren <valgaeren_at_softhome.net>
Date: Fri, 5 Nov 1999 12:36:31 -0000
Message-ID: <7vuf30$mlh$1@naxos.belnet.be>


If you mean by this the first and last record, you can try

SELECT * FROM table_x
WHERE rowid = (SELECT min(rowid) from table_x)   OR rowid = (SELECT max(rowid) from table_x);

Greetings,
Wim Valgaeren

frank chien <chien2_at_ms5.hinet.net> wrote in message news:941782531.996977_at_m5.pagic.net...
> Dear all,
>
> How can I select limit row from the Oracle database?
>
>
Received on Fri Nov 05 1999 - 06:36:31 CST

Original text of this message

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