find out the third highest salary?
Answer Posted / brijesh
hi,
this query gives you the Nth highest salary, the trick is to
write (N-1) in the given place;
select salary from table as table1
where (n-1) =
(select count(salary) from table
where table1.salary<salary);
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
How to specify default values in insert statement using oracle?
Explain drop constraint oracle?
What are the various types of snapshots ?
What is the disadvantage of User defind function?
How to retrieve values from data fields in record variables?
How to invoke the data pump import utility?
Explain the blob datatype?
How to create additional tablespaces for an new database?
How many categories of data types in oracle?
Whether any commands are used for months calculation? If so, what are they?
How do I know if oracle is installed on windows?
Explain about integrity constraint?
How do I uninstall oracle 11g?
What is a partition in oracle?
How to create a new user account in oracle?