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 the types of memory management? : .NET Architecture

594


Why am I getting an invalidoperationexception when I serialize an arraylist?

565


Can you explain control extenders?

595


What is .net mobile images control. : Microsoft dot net mobile

573


What is a managed code is dim fs as filestreamobject is a managed code? : .NET Architecture

739






question related to table havi colspan and row span

1863


Different types of authentication modes in .net framework ?

625


Define cache? : Dot net architecture

624


Explain domestic architecture artifacts? : .NET Architecture

604


what are the fundamental and common properties of .net controls?

1704


What is difference between Desktop, Client Server & Web based applications?

626


Does .NET runtime offer Deterministic Destruction or not?

670


What is a clickonce application?

592


Explain about clr?

679


Explain pipelining? : Dot net architecture

676