how to retrive only second row from table?

Answer Posted / rajasekar.p

select * from (select a.*,rownum aa from orders a )
where aa=2

Please verify the same you will get the correct answer


Regards
P.Rajasekar

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you fetch first 5 characters of the string?

554


Can there be 2 primary keys in a table?

559


What is a recursive join sql?

597


How long does it take to learn pl sql?

610


Why do we use sqlite?

536






What is the process of copying data from table a to table b?

602


Does truncate require commit?

546


How do I truncate a sql log file?

541


Explain alias in sql?

585


what is the difference between group by and order by in sql? : Sql dba

600


Does sql profiler affect performance?

561


what are the different tables present in mysql, which type of table is generated when we are creating a table in the following syntax: create table employee (eno int(2),ename varchar(10)) ? : Sql dba

621


Can a trigger call a stored procedure?

539


How do you update a table in sql?

520


Why plvtab is considered as the easiest way to access the pl/sql table?

623