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

Answer Posted / khan

DELETE FROM
(SELECT EMP_ID, SALARY, DENSE_RANK() OVER (ORDER BY SALARY DESC) AS CNT FROM EMPLOYEE)
WHERE CNT = 3;

Is This Answer Correct ?    9 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is oracle a relational database?

522


Is oracle an operator?

534


What are the extensions used by oracle reports?

575


Explain what are the different type of segments?

580


What is oracle analytical function?

529






How to view existing locks on the database?

553


Explain rename?

554


Explain about the analyze command in oracle?

587


Compare and contrast between sql and sql server and explain its various functions?

534


22. Display the order number, number of lines in the order, total number of items and total value for all orders that have a total value greater than $100

1606


What is the difference between online and offline backups?

560


What is instant client oracle?

543


How to set a transaction to be read only in oracle?

582


What is the difference between "as" and "is" in an oracle stored procedure?

540


How can you tell how much space is left on a given file system and how much space each of the file systems subdirectories take-up?

2395