How to Remove the 3rd highest salary person record from
table?

Answer Posted / suresh babu

delete from employees where employee_id in (select
employee_id from employees where 3 =(select count(distinct
e.salary) from employees e
where e.salary >= employees.salary));

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can group functions be used in the order by clause in oracle?

586


What is proxy method?

547


What is the meaning of recursive hints in oracle?

536


How to define an oracle cursor variable?

579


State the difference along with examples between Oracle 9i, Oracle 10g and Oracle 11i.

614






How remove data files before opening a database?

568


Is oracle a programming language?

572


why dont we assign not null constraint as table level constraint.

2261


How many types of auditing in Oracle?

573


What is columnar storage what is the advantage?

548


What is bulk load in oracle?

604


Explain oracle 12c new features for developers?

546


Are truncate and delete commands same? If so why?

662


How view is different from a table?

570


What do you mean by cdb and pdb in oracle 12c?

644