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

Explain Capacity planning to create a database? and how to monitor it?

3746


What are date and time data types in ms sql server?

525


How to use “drop” keyword in sql server and give an example?

683


Differentiate between mongodb vs. Sql server?

576


What are a database and a data warehouse?

566






What are sql server procedures?

541


Explain relational data?

544


What is a field in a table?

574


What are the differences between DDL, DML and DCL in SQL?

754


What is #table in sql server?

530


What are drillthrough reports?

102


Can we create clustered index on composite key?

513


How do I completely remove sql server instance?

566


How to Sync Two SQL Azure Databases?

101


What is sql collation?

648