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

What is the maximum rows in csv?

571


Which one is better subquery or joins?

663


column A column b | output 10 7 | 10 5 8 | 8 7 -9 | 7 3 5 | 5 0 6 | 6 Write a sql query to print such output.

6358


What is sql indexing?

657


In a distributed database system, can we execute two queries simultaneously?

657






What is interval partition?

626


Can you load data into multiple tables at once? : aql loader

700


What is the use of double ampersand (&&) in sql queries? Give an example

707


What are the subsets of sql?

637


What is the difference between database trigger and stored procedure?

632


what happens if null values are involved in expressions? : Sql dba

657


what is uncommittable transactions? : Transact sql

655


Any attempt to navigate programmatically to disabled form in a call_form stack is allowed?

683


Explain correlated query work?

682


What is embedded sql in db2?

612