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

Which kind of parameters cannot have a default value in pl sql?

593


What is the basic form of sql query?

491


Can we use the cursor's to create the collection in PL/SQL?

516


what are wild cards used in database for pattern matching ? : Sql dba

545


What is input buffer in sql*plus?

638






What is a column in a table?

547


Is like operator in sql case sensitive?

504


hi,i plan to put experience on PLSQL ,can anyone suggest me for any institutes in bangalore or how to prepare for interviews

1521


How do sql triggers work?

550


How exception handling is done in advance pl/sql?

494


What does seeding a database mean?

525


What is the example of procedure?

515


What is trigger in sql? Explain

534


What is sql entity?

528


What do you understand by exception handling in pl/sql?

575