how to retrive only second row from table?

Answer Posted / bindu

select * from (select rownum r1,e.* from emp e)
where r1=2;

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you fetch common records from two tables?

594


what is the difference between undefined value and null value? : Sql dba

565


what are the properties and different types of sub-queries? : Sql dba

507


Where can I learn sql for free?

509


Are sql database names case sensitive?

502






Why we use stored procedure instead of query?

540


Does oracle roll back the transaction on an error?

539


Write a program that shows the usage of while loop to calculate the average of user entered numbers and entry of more numbers are stopped by entering number 0?

1688


What are the two virtual tables available at the time of database trigger execution?

643


How to change the order of columns in Oracle SQL Plus ?

616


Why are sql stored procedures used?

618


What are different functions in sql?

519


how to include character strings in sql statements? : Sql dba

556


what is the difference between a having clause and a where clause? : Sql dba

522


What does bitemporal mean?

599