How do you retrieve the last N records from a table?
Answer Posted / sunil bisht
Last 10 record from emp table
select * from emp where rowid<=(select max(rowid) from emp)
minus select * from emp where rowid in(select rowid from
emp where rownum<=3);
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Explain what is table in a database?
What is a full join sql?
What is plpgsql language?
Give the order of sql select?
Can we join same table in sql?
What are schema-level triggers?
Explain what is a database?
what is not null constraint? : Sql dba
Is join an inner join?
What is your daily office routine?
How can you know that statistics should be updated?
What is replication id?
What is a sql*loader control file?
What is the process of debugging?
What is constant in pl sql?