how will you find out the last three records in a table
with n no of records and delete them
Answer Posted / ajit
delete from emp
where empno in
(select empno
from emp
minus
select empno
from emp
where rownum <= ( select count(*) - 3
from emp
))
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What sql database should I use?
Can a procedure in a package be overloaded?
Can we use two order by clause in query?
What is full join?
How many types of tables are there?
What are the various levels of constraints?
Which is better cte or subquery?
What is sqlerrd?
Can I learn sql in a week?
What is sql select statement?
What is a primary key called that is made up of more than one field?
What are the different types of triggers?
How long will it take to learn pl sql?
Explain select statements in sql?
How do you identify a primary key?