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

Answer Posted / manoj

delete from employee where sal = (select sal from (select sal from employee order by sal desc) where rownum = 3);

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many file formats are supported to export data?

668


Query to retrieve record for a many to many relationship ?

2083


What is the difference between truncate & delete command?

625


What is raw datatype in oracle?

591


A table t is there.If you perform insert ,update and delete then the trigger will fire.What is the minimum no of trigger required for a table.

4287






Explain what are the type of synonyms?

589


How to define an anonymous block?

624


How do I use os authentication with weblogic jdriver for oracle and connection pools?

585


How to store pictures on to the database?

533


Is there any way to find out when one specific table/view/M-view is used last time. i.e. when one specific object is used in any SELECT statement.

870


Is oracle an open source?

642


types of indexes and the rationale behind choosing a particular index for a situation.

1993


What are the set operators union, union all, minus & intersect meant to do?

572


State the various uses of dbcc command?

556


What is oracle rownum?

522