SELECT blah, blah, blah...
        FROM (SELECT blah, blah, blah..., ROWNUM r 
                FROM <table_name>
                WHERE ...)
        WHERE r = 2;

No guarantees, that you will be always getting the same row (depending
on in-line query).

Igor Neyman, OCP DBA
[EMAIL PROTECTED]



-----Original Message-----
Muqthar Ahmed
Sent: Tuesday, October 21, 2003 3:44 PM
To: Multiple recipients of list ORACLE-L

Hi,

Is there a way to pull ONLY 2nd row from the selected rows.

Thanks
Muqthar Ahmed
DBA
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Muqthar Ahmed
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Igor Neyman
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to