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

Answer Posted / l meher

select * from emp minus select * from emp where rownum<=
(select count(*)-10 from emp);

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

515


How to run sql statements with oracle sql developer?

614


What is data definition language?

616


What are the two types of exceptions in pl/sql?

537


What is the difference between sum and count in sql?

516






What is delimiter in pl sql?

580


What is the reports view in oracle sql developer?

535


What is the difference between jpql and sql?

548


How does one load ebcdic data? : aql loader

641


What is pessimistic concurrency control? : Transact sql

584


Is delete faster than truncate?

539


What trigger means?

559


How to change sql*plus system settings?

539


what are the advantages of using stored procedures? : Sql dba

611


What are conditional predicates?

581