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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: How To Pull Second Row from 100 ROWS

RE: How To Pull Second Row from 100 ROWS

From: Muqthar Ahmed <Muqthar.Ahmed_at_decoratetoday.com>
Date: Tue, 21 Oct 2003 14:24:41 -0800
Message-ID: <F001.005D3E5D.20031021142441@fatcity.com>


Thank you.....it works.

Muqthar
DBA -----Original Message-----
Sent: Tuesday, October 21, 2003 5:05 PM
To: Multiple recipients of list ORACLE-L

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
ineyman_at_perceptron.com

-----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: Muqthar.Ahmed_at_decoratetoday.com

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: ListGuru_at_fatcity.com (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: ineyman_at_perceptron.com

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: ListGuru_at_fatcity.com (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: Muqthar Ahmed
  INET: Muqthar.Ahmed_at_decoratetoday.com
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: ListGuru_at_fatcity.com (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). Received on Tue Oct 21 2003 - 17:24:41 CDT

Original text of this message

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