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 / arrry.net

SELECT * FROM employee
WHERE Salary=(SELECT max(Salary)
FROM employee WHERE Marks< (SELECT max(Salary) FROM
employee));

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

482


What size is a .net object?

635


Explain dma? : .NET Architecture

540


Explain about microsoft visual studio?

550


How resource files are used in .net?

551






So what exactly is the configuration file for then?

558


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

557


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

524


How will you do windows authentication and what is the namespace?

542


12. Types of polymorphisem[Run and Design Exp.]

1648


any one can explain about projectarchitecture and project approach briefly

2068


What is .net viewstate?

494


how to delete the record using data reader

1856


What is cache coherency? : Dot net architecture

491


What does the term "green architecture" mean? : .NET Architecture

552