I want to know last five transactions or records from emp
table, from now?
Answer Posted / vikram
select * from emp where rowid >( select count(*)-n from emp)
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How does rowid help in running a query faster?
Can we perform dml on view?
Which kind of parameters cannot have a default value in pl sql?
What is full join in sql?
what are the different tables present in mysql? : Sql dba
What is a sql select statement?
How to get unique records from a table?
Explain dml and ddl?
what does it mean to have quoted_identifier on? What are the implications of having it off? : Sql dba
Is sql difficult?
What are database links used for?
What is a clob in sql?
What is the maximum number of columns in sql table?
What are sql queries used for?
how to fetch common records from two tables? : Sql dba