how to find the 2nd higgest salary in the column for example
take table name is employee?
And also find bottom 2nd lowest salary ?

Answer Posted / mohsin mukri

select max(salary) as Salary from tbl_Employee
where salary <= (select max(salary) from tbl_employee)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe the advantages of writing a managed code application instead of unmanaged one. What is involved in certain piece of code being managed?

706


What is .net mobile input validation. : Microsoft dot net mobile

614


Explain the difference between inprocess vs out process session state : Dot net architecture

620


data types used in validation control

1820


What is Object Caching in Visual Studio 2010?

672






What's new in the .net 2.0 class library?

631


Explain about continuable exceptions?

621


Explain the difference between primary & secondary storage device? : Dot net architecture

595


So what exactly is the configuration file for then?

624


any one can explain about projectarchitecture and project approach briefly

2159


What are the major differences between services and web services?

582


How do I know when my thread pool work item has completed?

589


Is .net easier than java?

609


Explain How to improve the cache performance? : Dot net architecture

604


Explain about generation?

650