find out the third highest salary?

Answer Posted / gaurav

try this

select max(salary)
from employees
where salary < (select max(salary)
from employees
where salary < (select max(salary)
from employees));

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between char and nchar in oracle?

603


What privilege is needed for a user to delete rows from tables in another schema?

564


Why do we use bulk collect in oracle?

571


How to open and close an explicit cursor in oracle?

579


State the difference along with examples between Oracle 9i, Oracle 10g and Oracle 11i.

612






How to convert characters to numbers in oracle?

596


What is a trigger oracle?

565


What is user managed backup in Oracle?

615


Explain implicit cursor.

560


What is the purpose of save points in oracle database?

545


What is a trigger and what are its types?

616


How different is ms access and oracle?

549


How to sort output in descending order in oracle?

580


How many types of synonyms in Oracle?

603


HI Friends Myself Manoj,i am from bengaluru.i have 1 yr of exp in PLSQL but not upto the mark..now attending interviews but m not able to clear even 1 round..i have attended 3 interviews till today.purpose of writing this query is,i want to know the intreview topics that interviewer going to ask frequently,mainly SCENARIO based questions.IF anybody have any PLSQL projects please give it to me,it will helps me alot.Thanks for your patience.

998