How to select nth record from a table?
Answer Posted / karthik
select * from (select rownum r , emp.* from emp)
where
r='&n'
Give the value of n. It will return the nth record.
| Is This Answer Correct ? | 13 Yes | 8 No |
Post New Answer View All Answers
What is sql stored procedure?
What is report rendering ?
What is inline table-value user-defined function?
How to delete duplicate rows from table except one?
Define candidate key, alternate key, and composite key.
Explain error and transaction handling in sql server?
Why use view instead of a table?
Tell me what are the advantages of using stored procedures?
Do you know how to implement service broker?
What are the rendering extensions of ssrs?
Does sql server 2000 clustering support load balancing?
What is compression - row-level and page-level compression?
What is difference between index seek vs. Index scan?
How will you find out if there are expensive SQL statements running or not?
How can you append an identity column to a temporary table?