I am new in PL/SQL and I am trying the ROWNUM keyword.
If I query this:
SELECT *
FROM my_table
WHERE ROWNUM <= 1
I am getting a result. Even in this case:
SELECT *
FROM my_table
WHERE ROWNUM = 1
But if I try
SELECT *
FROM my_table
WHERE ROWNUM = 2
I get an empty result..
But the table my_table
has more than one tuple.
Can you help me?
Thank you!