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)
sory above post ans is wrong bcoz i forgot to remove = sign
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Differences between VS 2005, 2008 and 2010 ?
What is application frame host?
Define cache? : Dot net architecture
What is Video Streaming in .net??
What are .net mobile controls features? : Microsoft dot net mobile
Explain some of the disadvantages due to microsoft.net?
How do I prevent concurrent access to my data?
Explain about clr?
how to make and display a form without title bar?
Explain the five stages in a dlx pipeline? : Dot net architecture
What is a service class?
I want to create a project like google maps how can we do that with atlas?
Is .net easier than java?
So what exactly is the configuration file for then?
What is boxing and unboxing? Does it occure automaatically or you need to write code to box and unbox?