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 / riyazkhan
select Sal from Employee where Sal != (select max(Sal) from Employee) Order By Sal desc
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Describe how to use linked server?
What causes index fragmentation?
What are the differences between decimal and float in ms sql server?
what are cursors? : Sql server database administration
How is SQL Azure different than SQL server?
What is a dataset and what are the different types of datasets?
Explain transaction isolation levels in sql server?
What is attribute? : sql server analysis services, ssas
What are the limitations/drawbacks or ssrs 2008 r2?
What are the different Topologies in which Replication can be configured?
How to create function without parameter in sql server?
What is the library index called?
Where are stored procedures in sql server?
What is a field name?
List all the types of user-defined functions?