Hi,
I dont know how do get the elements of a table (with a select) but only
beetwen the 100th and the 200th for instance...
How to do that? Thank in advance for your help !
I dont know how do get the elements of a table (with a select) but only
beetwen the 100th and the 200th for instance...
How to do that? Thank in advance for your help !
> I dont know how do get the elements of a table (with a select) but only
> beetwen the 100th and the 200th for instance...
Let's say your starting query is this :
SELECT col1
FROM some_table
ORDER BY col1
If you're only interested in rows 100 through 200 fetched by the
query then you could use this :
SELECT col1
FROM (SELECT rownum mynum, col1
FROM some_table
ORDER BY col1) mytab
WHERE mytab.mynum BETWEEN 100 AND 200
HTH
Regards
Steve Blomeley
try this :
select *
from t1
where rownum <200
minus
select *
from t1
where rownum <100;
Bye
Tassili
Quote:> Hi,
> I dont know how do get the elements of a table (with a select) but only
> beetwen the 100th and the 200th for instance...
> How to do that? Thank in advance for your help !
--
_________________
NNNNNNNNNNNN
Pourquoi tant de N ?
____________
ICQ: 81656803
> try this :
> select *
> from t1
> where rownum <200
> minus
> select *
> from t1
> where rownum <100;
> Bye
> Tassili
> > Hi,
> > I dont know how do get the elements of a table (with a select) but only
> > beetwen the 100th and the 200th for instance...
> > How to do that? Thank in advance for your help !
1. Select * but beetwen the 100th and 200th element
Hi,
I dont know how do get the elements of a table (with a select) but only
beetwen the 100th and the 200th for instance...
How to do that? Thank in advance for your help !
3. Q: How to select 20th to 100th rows?
4. How to generate the format file ?
5. put all the sub-elements for a particular element next to the element on one line
6. Beginners SQL question. Reading primary keys
7. Set XPath filter on parent element and child element
9. Vector -- element of element problems .... 2d array
10. array elements as fields elements
11. Looping the elements of a select statement
12. TDBLookupListBox selects all elements
13. Always Rounding UP on 100th's Position