write the query for find the top 2 highest salary in sql
server
Answer Posted / mohan c v
select min(salary) from
(select top 2 salary from emp order by salary desc) as a
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to choose all records from the table?
What is it unwise to create wide clustered index keys?
How to implement one-to-one, one-to-many and many-to-many relationships while designing tables?
between cast and convert which function would you prefer and why?
Explain tablesample?
Can a stored procedure call itself or recursive stored procedure? How many levels sp nesting is possible?
What are indexers?
What are difference between Cluster index and Non-Cluster index?
 Explain what is sql override for a source taLle in a mapping?
How to generate create table script on an existing table in ms sql server?
How to override dml statements with triggers?
What are information schema views?
How does recursive cte works in sql server?
What is sql server replication? : sql server replication
You want to use bids to deploy a report to a different server than the one you chose in the report wizard. How can you change the server url?