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 / ravi kumar
SELECT MIN(sal) FROM Emp WHERE sal in
(SELECT TOP 2 DISTINCT sal from Emp ORDER BY DESC)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are click through reports?
Explain sub-query?
How each E-R model constructs can be mapped to the relational model?
Which autogrowth database setting is good?
What is log shipping? Can we do logshipping with SQL Server 7.0 ?
How will you hide an attribute? : sql server analysis services, ssas
Can a table be moved to different filegroup?
What are the different type of replication in sql server?
Characterize join and name diverse sorts of joins?
What are the new security features added in sql server 2012? : sql server security
Can we call future method from trigger?
What is normalization? Explain its different types?
What is schemabinding a view?
What is table value parameters (tvp)?
what's the maximum size of a row? : Sql server database administration