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
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.
How do I uninstall oracle client from windows?
How to display employee records who gets more salary than the average salary in the department?
How to drop a stored function?
What is a snapshot in oracle database?
Point out the difference between user tables and data dictionary?
Explain the use of Merge statement in oracle 11g
Explain how you would restore a database using RMAN to Point in Time?
What are the various types of snapshots ?
what are the advantages of running a database in archive log mode?
What is flashback in Oracle?
Write a syntax for update query in oracle?
Why should I use oracle database?
What operating systems are supported by oracle database 10g xe?
How to call a stored function in oracle?