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

Home -> Community -> Usenet -> c.d.o.misc -> Select a subset of records

Select a subset of records

From: <totaropeppe_at_yahoo.it>
Date: 9 Oct 2006 08:18:25 -0700
Message-ID: <1160407105.060051.141410@m7g2000cwm.googlegroups.com>


Hi,

I'm an italian student and I've a problem with the selection of subsets of records.
I do this selection with the following query:

SELECT cols
FROM (
  SELECT cols
  FROM table
  WHERE where_clause
  ORDER BY order_clause
)
WHERE ROWNUM BETWEEN limit1 AND limit2

I think that this query is not efficient! Can you help me?

Thank you.
Giuseppe

P.S.: Scuse me for my terrible english!!! Received on Mon Oct 09 2006 - 10:18:25 CDT

Original text of this message

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