how to find 5th row ?

Answer Posted / suresh babu

select * from table_name tn1 where 5 = (select count(rowid)
from table_name tn2 where tn1.rowid >= tn2.rowid);

This query,which is display the 5th row in table.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between rename and alias?

544


How can I see all tables in sql?

548


What is a mutating table and a constraining table?

575


What is out parameter used for eventhough return statement can also be used in pl/sql?

588


How does cross join work in sql?

535






What is optimistic concurrency control? : Transact sql

553


What are triggers and its types?

557


Explain the order of sql statement execution?

615


Why do we use joins?

569


What is sqlite format?

633


What is a database? Explain

598


Is it possible to pass parameters to triggers?

575


What is sql profiling in oracle?

551


What is pl sql variable?

512


what are the differences between char and varchar? : Sql dba

529