Write a query to get last 10 records from the table.
Answer Posted / chandrakishan
select * from emp where rownum>=
(select count(*)-10 from emp);
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Is primary key is clustered index?
How to disable a trigger name update_salary?
How can you fetch common records from two tables?
What is view? Can we update view
What is server name sql?
What are sql functions? Describe the different types of sql functions?
How do temporal tables work?
Does pl/sql support create command?
What are the various levels of constraints?
Why do we need cursor in pl sql?
How does left join work in sql?
What is a schema? How is it useful in sql servers?
What is foreign key and example?
How do I run a script in sql developer?
Explain the order of sql statement execution?