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

Can we convert a date to char in oracle and if so, what would be the syntax?

554


How much memory your 10g xe server is using?

588


what are actual and formal parameters?

601


Database is hung. Old and new user connections alike hang on impact. What do you do? Your SYS SQLPLUS session IS able to connect.

1678


what is Single Byte Overhead...?

2070






How to calculate date and time differences in oracle?

540


What query tells you how much space a tablespace named test is taking up, and how much space is remaining?

1814


Explain the use of rows option in exp command.

590


Explain what are the advantages of views?

618


How do you get nicely formatted results from an oracle procedure that returns a reference cursor?

558


What is varray?

593


What is a user role in oracle?

623


What are named parameters?

620


How to get the Installed Oracle Version Information ?

631


What are a cluster and non-cluster index?

582