If the rows in the table aren't in any order—and they aren't, not in any relational database system—then how do you know which one is the Nth one? You don't.
Therefore, pick any row of the table, and just pretend it's the Nth.
Of course, if you want to retrieve the Nth row based on the values of some column, then that's a different question. It has an SQL solution, too. But I'm not sure you have this situation.
Dig Deeper on Oracle and SQL
Related Q&A from Rudy Limeback
Read an example of an SQL case expression from our SQL expert Rudy Limeback. Continue Reading
Read SQL expert Rudy Limeback's advice for counting combinations in a table with SQL's GROUP BY clause Continue Reading
Read about the Mimer Validator, a tool used to verify your SQL code, in this tip from SQL expert Rudy Limeback. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.