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

Answer Posted / nathan

DELETE FROM emp
WHERE empno = (SELECT empno
FROM (SELECT empno, ROWNUM rn
FROM (SELECT empno
FROM emp
ORDER BY sal DESC))
WHERE rn = 3);

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is max rowid in oracle?

551


What are group functions in oracle?

581


What to do if dba lost the system password?

590


How many types of synonyms in Oracle?

587


How to create a temporary table in oracle?

682






What are the data types in oracle?

546


Explain about your project and its relation to the current job position you are applying to?

534


There are n numbers of flatfile of exactly same format are placed in a folder.Can we load these flatfile's data one by one to a single relational table by a single session??

1608


Is it possible to split the print reviewer into more than one region ?

1830


how do u setup a replication site?

1489


What are the roles of dba?

606


How to use existing values in update statements using oracle?

540


How to insert multiple rows with one insert statement in oracle?

564


What is a read only transaction in oracle?

587


What is oracle and what are its different editions?

568