SQL> select rownum from dba_objects where rownum >= 1 and rownum <=5 ; ROWNUM ---------- 1 2 3 4 5