can anybody tell us, how to select 2nd max salary from
table.
my id is ashish.akk@gmail.com

Answer Posted / neeru

I think Daleep answer is not so precise, if you want 3rd or
ny specified answer, this only can only be seems right for
2nd highest salary, else, its not optimise query.I found
Preeti's query more optimistic and accurate.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is star, snowflake and star flake schema? : sql server analysis services, ssas

856


Explain the disadvantages of cursors?

762


What is the stored procedure?

749


What does select 1 mean?

729


When to use Inner join & when to use subquery?

752






What do you mean by subquery?

746


How to write a query with a left outer join in ms sql server?

750


How to set the current database in ms sql server?

723


Which tools are available to manage SQL Azure databases and servers?

107


How to create a new login name in ms sql server?

703


What functions can a view be used to performed?

796


What is store procedure? How do they work? When do you use?

698


While you are inserting values into a table with the insert into .. Values option, does the order of the columns in the insert statement have to be the same as the order of the columns in the table?

784


What is the purpose of forms?

687


what is the primary use of the model database? : Sql server administration

728