Write a query to get last 10 records from the table.

Answer Posted / pallavi v

with temp as
(select * from emp order by rownum desc)
select * from temp where rownum < = 10

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

discuss about myisam index statistics collection. : Sql dba

523


how to concatenate two character strings? : Sql dba

550


How do I turn a list into a table?

504


Is sql a case sensitive language?

512


Can a varchar be a primary key?

534






Is sql considered coding?

567


ERROR:Insert or update on table"accnt" violates foreign key constraints "acct_to_curr_symbol" DETAILS:KEY(accnt_curr_id)(-2)is not present in the table "curr_symbol" ......solve The Problem..

2004


What is the use of sqldataadapter?

532


What is nosql db?

537


What are different types of tables in sql?

526


What is serial sql?

522


How to process query result in pl/sql?

558


How many triggers can be applied on a table?

506


Which type of cursor is used to execute the dml statement?

528


Why do we use procedures?

510