write the query for find the top 2 highest salary in sql
server
Answer Posted / ramu
select * from emp e where 2=(select count(sal) from emp
where e.sal<=sal)
| Is This Answer Correct ? | 6 Yes | 6 No |
Post New Answer View All Answers
What is catalog views?
What is t-sql script to take database offline – take database online.
What is exporting and importing utility?
Explain stored procedure?
What is the contrast between sql and mysql?
How do I setup a sql server database?
Do you know what are the restrictions applicable while creating views? : SQL Server Architecture
What is the difference between nvl and nvl2?
Explain log shipping?
We need to perform what steps in the following order to work with a cursor?
What is the maximum size of column in sql server?
How many non clustered indexes there can be on table ?
What is the correct order of the logical query processing phases?
What are the general features of sql server management studio? : sql server management studio
What types of Joins are possible with Sql Server?