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

How to upload in video,mp4,in .net 4.5 ..?

552


data types used in validation control

1748


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

523


How do I write to the application configuration file at runtime?

524


Explain the difference between primary & secondary storage device? : .NET Architecture

532






Explain difference between machine config vs. Web config? : .NET Architecture

540


8. Oop-Why and were we use Interfacse and Abstract class.

1589


Explain the difference between l1 and l2 cache? : .NET Architecture

557


Explain the difference between state server and sqlserver : Dot net architecture

455


What is different about namespace declaration when comparing that to package declaration in java?

561


Explain the components required to develop mobile applications with .net mobile? : Microsoft dot net mobile

463


Explain .net mobile input controls? : Microsoft dot net mobile

482


Define cache coherency and how is it eliminated? : Dot net architecture

524


What is WPF and WCF?

573


Does application frame need host?

495