how to retrive only second row from table?

Answer Posted / saswati

select a.*
from(select e.*,rownum sl_no
from emp e) a
where a.sl_no = 2

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List the ways to get the count of records in a table?

655


What is user defined functions?

746


what is 'mysqldump'? : Sql dba

761


Differentiate between pl/sql and sql?

806


What does over partition by mean in sql?

711






How can we optimize a sql query?

766


What are the sql aggregate functions?

815


What are the different datatypes available in PL/SQL?

754


Table A Table B 1 1 2 1 3 1. Union & union all --> A Union B , A Union all B 2. Minus , Intersect --> A minus B , B Minus A , A Intersect B 3. Joins A join B , A Left Join B A Right Join B , A full Join B 4. %Type - Uses & Benifit 5. Truncate & Delete 6. Pragma Autonomus Transaction 7. how to Perform DDL from function or procedure 8. Can we have DML inside Function 9. Rank & Dense Rank diffrence 10. Water Mark in Oracle 11. Index , Can we have index in all column of table if no then why ?

743


Can you join a table to itself?

712


What port does sql server use?

709


What is a parameter query?

820


What is the best sql course?

720


Difference between truncate, delete and drop commands?

730


How do I audit the sql sent to the server?

732