find out the third highest salary?
Answer Posted / selvaraj anna university coe
In ORACLE 10g,
SELECT * FROM employee x WHERE 3 = (SELECT COUNT(DISTINCT
salary)
FROM employee y WHERE x.salary <= y.salary);
Is This Answer Correct ? | 16 Yes | 5 No |
Post New Answer View All Answers
What is an oracle cursor variable?
what is a Nested Loop join?
What happens internally when the user types userID/password@string in SQL PLUS Thanks-Bhaskar
What are the different types of database objects?
How to lock and unlock a user account in oracle?
What is transaction control statement and how many types of transaction control statement in Oracle?
Explain user account with reference to oracle.
Difference between open_form and call_form in oracle.
What are temporal data types in oracle?
What language does oracle use?
What is PL/SQL ?
How translate command is different from replace?
What is redo log?
What are the differences between date and timestamp in oracle?
What is the difference between alert log file and tarce file ?