How to find the second largest salary in the emp database and
also How to find 3rd,4th and so on ........ in the emp database

plz mail the answer @ mak2786@gmail.com

Answer Posted / ranjith

Select Max(Salary) from emp_database where Salary < (Select
Max(Salary) from emp_database)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

when you create a database how is it stored? : Sql server database administration

499


What is a data source or ds? : sql server analysis services, ssas

571


How are the unique and primary key constraints different?

571


What are the types of table?

549


Explain a differential backup?

575






How to download and install microsoft sql server management studio express?

565


What is a rownum?

505


Explain what are the restrictions that views have to follow? : SQL Server Architecture

597


What is use of except clause?

633


When does a workload on SQL Azure get throttled?

113


How do I uninstall sql server 2014?

526


What are the different Authentication modes in SQL Server and how can you change authentication mode?

646


Which database stores information about replication?

559


what is memory-optimized nonclustered indexes

561


Is null in sql server?

544