I want to know last five transactions or records from emp
table, from now?
Answer Posted / thulasi reddy
select * from emp minus(selecet * from emp where
rownum<(select count(*)_4 from emp))
this will give last records
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is the use of stored procedures?
How do you delete a table?
What is dba in sql? : SQL DBA
Show how functions and procedures are called in a pl/sql block.
What is pl sql block structure?
How can we optimize a sql query?
What does cursor do in sql?
Why do we need a foreign key?
Is it possible to update views?
State few characteristics of pl/sql?
Explain the significance of the & and && operators in pl sql.
What are the different types of dbmss?
Is there a way to automate sql execution from the command-line, batch job or shell script?
how can we encrypt and decrypt a data present in a mysql table using mysql? : Sql dba
What is number function in sql?