row num is not displaying any rows when using between keyword [duplicate]
This question already has an answer here: How ROWNUM works in pagination query? 3 answers When I am using rownum and between keywords then the query doesn't return any rows. Can anyone explain the reason why query is not retrieving any rows? select * from cus where rownum between 2 and 6; I just want to check whether rownum will work when it is used with between keyword .So ,I just tried the above query to display the rows which are in between 2 and 6. But when I tried to execute the query, it doesn't retrieve any rows. thanks in advance Oracle rownum starts at 1, so you will never get the