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
Difference between report and query parameter.
Explain error and transaction handling in sql server?
Tell me what is the stuff and how does it differ from the replace function?
What is measure group, measure? : sql server analysis services, ssas
What are entities and relationships?
In which sql server version report builder introduced?
How to insert new line characters into strings?
Can binary strings be converted into numeric or float data types?
Define cursor locking
What is a database in ms sql server?
Can sql servers linked to other servers like oracle?
create index myindex on mytable(mycolumn) what type of index will get created after executing the above statement? : Sql server database administration
What is table constraint?
What is difference between rollback immediate and with no_wait during alter database?
What are trace files?