find out the third highest salary?

Answer Posted / shivaprasad

Hi Every one,this query will helps you to find 1st or 2nd or
3rd or and so on salary from the employee table.

change inside distinct top (3) for respective results

select distinct top 1 Salary from(select distinct top 3
Salary from Employee order by Salary DESC)temp order by
Salary;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to invoke the data pump export utility?

561


How to export several tables together?

566


can u send the sql dumps to sivakumarr1987@gmail.com plz help me

2594


ur a sql devoloper...what is the process in ur company for finding the database BUGS .. seperate DB testers are there? or devr.s are manage? if DB TESTERS in there what is the process

1743


How to select some rows from a table in oracle?

596






11. Display the client number and name and the client number and name of the person who referred that client.

1920


How to update a table row with a record?

597


Is oracle the best database?

520


I am using an Oracle 8i Database my data contains Clob data. I am using toad version 7.6 i am able to get the data in toad but unable to extract the data in excel.when trying to extract the data into the excel the toad error says out of memory. Can any body please help me to extract the data through the same toad version. Thanks in advance

1844


Explain the use of rows option in exp command.

585


What is the difference between translate and replace in oracle?

650


Describe the types of sub query?

549


What is archive log in Oracle?

597


What is the max number of columns in an oracle table?

513


What is meant by raw datatype?

568