I want to know last five transactions or records from emp
table, from now?
Answer Posted / nitin
NAME EMP_ID
A 100
B 102
C 103
D 105
E 200
F 201
G 202
H 203
I 204
SELECT * FROM (select * from emp order by emp_id desc)
WHERE rownum <= 5
Is This Answer Correct ? | 13 Yes | 12 No |
Post New Answer View All Answers
What are different types of tables in sql?
What is native sql query?
what is not null constraint? : Sql dba
What is asqueryable?
what is the syntax used for partition in tsql? : Transact sql
Explain the rollback statement?
what is a field in a database ? : Sql dba
Can we join tables without foreign key?
What is rank () in sql?
what is user defined functions? : Sql dba
How many sql commands are there?
How many types of literals are available in pl sql?
How does an execution block start and end in pl sql?
how to convert character strings to dates? : Sql dba
What is primary key and foreign key with example?