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

How to invoke the original export import utilities?

512


Please explain oracle data types with examples?

594


What is an oracle database table?

600


How to use subqueries with the in operator using oracle?

621


hey friends, What are the steps I can do to transfer the database from Microsoft Access 2003 to oracle10g (or SQL) Best regards

1575






What is ASM (Automatic Storage Management) in Oracle?

719


What is a sub query? What are its various types?

590


How do I use unicode codesets with the weblogic jdriver for oracle driver?

566


various types of hints and their usage

2137


What is max rowid in oracle?

563


How to add another datafile to a tablespace?

584


What are the uses of linked server and explain it in detail?

593


What is tns entry?

632


What is the difference between hot backup and cold backup in oracle? Tell about their benefits also.

551


Explain what are the advantages of views?

619