How to select a row based on its row number? <p>I'm working on a small project in which I'll need to select a record from a temporary table based on the actual row number of the record.</p> <p>How can I select a record based on its row number?</p>