How do you retrieve the last N records from a table?
Answer Posted / swastik
select
* from
(
select e1.*
from emp e1
order by rownum desc
)
where rownum <= &n
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are sql constraints?
What are conditional predicates?
How do rank () and dense_rank () differ?
How does sql profiler work?
what is cross join? : Sql dba
How to prepare for oracle pl sql certification?
What are types of exception?
What is the difference between rollback and rollback to statements?
Explain what is dbms?
Is sql a oracle?
What is sql and its types?
How many clustered indexes can you have?
What is full join in sql?
Explain lock escalation? : Transact sql
What is trigger explain it?