SQL statement - unable to retrieve rownum = 2
655578Feb 10 2009 — edited Feb 10 2009I have a question.
When I run this statement:
select customerid from customertable
I retrieve 3 rows like this:
Customerid
1111
2222
3333
When I run this statement
select Customerid from customertable where rownum = 1
I was able to retrieve
1111
However, when I run this statement
select Customerid from customertable where rownum = 2
I was not able to retrieve 2222 instead it was blank.
Why is it so?