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

Answer Posted / basanti

delete from employee where salary(select salary from(select
distinct (salary) from employee where salary is NOT NULL
order by salary desc) where rownum=n);

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the ansi data types supported in oracle?

526


Explain the use of ignore option in imp command.

583


What is a read only transaction in oracle?

604


What is the string concatenation operator in oracle?

574


How to update a table row with a record?

602






What is SQL access advisor in Oracle?

638


Please explain compound trigger in oracle?

607


What is a snapshot in oracle database?

589


what is normalisation?what are its uses?

1771


What is the difference between post-database commit and post-form commit?

521


How to drop a tablespace?

580


What is coalesce function?

583


What is the difference between a user and a schema in oracle?

573


Provide an example of a shell script which logs into SQLPLUS as SYS, determines the current date, changes the date format to include minutes & seconds, issues a drop table command, displays the date again, and finally exits.

1588


How to check the server version in oracle?

616