I want to know last five transactions or records from emp
table, from now?
Answer Posted / newuser
select * from (select * from employee order by rowid desc) t
where rownum<= 5;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to check if a column is nullable before setting to nullable?
Is sql workbench free?
What do we need to check in database testing?
What is pl sql block structure?
Is sql between inclusive?
What is left join in sql?
how can you see all indexes defined for a table? : Sql dba
Is postgresql a server?
what is the use of friend function? : Sql dba
How can I get the number of records affected by a stored procedure?
what is the difference between delete and truncate commands? : Sql dba
is it possible to pass an object or table to a procedure as an argument?
what is view? : Sql dba
how would you write a query to select all teams that won either 2, 4, 6 or 8 games? : Sql dba
How many times can we commit in a loop?