how to retrive only second row from table?

Answer Posted / sagar

SELECT * FROM tab a
WHERE :n = (SELECT COUNT(rowid)
FROM tab b
WHERE a.rowid >= b.rowid);

Is This Answer Correct ?    14 Yes 33 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I find duplicates in two columns?

745


Can we use ddl commands in pl sql?

766


What does := mean in pl sql?

756


How does stored procedure reduce network traffic?

732


What is query optimization in sql?

723






Explain what is an index?

759


what is the difference between myisam static and myisam dynamic? : Sql dba

770


Is sql better than excel?

701


what are different types of keys in sql?

768


What is the purpose of design view?

727


Can a select statement fire a trigger?

888


What is pls integer?

779


How can triggers be used for the table auditing?

755


Explain ttitle and btitle.

840


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

758