Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Explain about Rownum

santhosh TOct 23 2012 — edited Oct 23 2012
Hi,

Please let me know the result of the query below and why.
select * from emp where rownum=1;
This is getting the first record from the table EMP. And the below query is returning no records.
select * from emp where rownum=2;
Please explain how it is working.

Thanks,
Santhosh
This post has been answered by myOra_help on Oct 23 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 20 2012
Added on Oct 23 2012
5 comments
227 views