write the query for find the top 2 highest salary in sql
server
Answer Posted / santosh kumar
select Top 1 salary from ( select top 2 salary from
emp_table order by salary desc)temptable order by salary
asc.
| Is This Answer Correct ? | 11 Yes | 12 No |
Post New Answer View All Answers
What it means to be triggered?
What is difference between foreign key and unique key?
Does windows server 2016 come with sql server?
When you should use a low fill factor?
How to name query output columns in ms sql server?
What is Transparent Data Encryption?
What are the five major components of a dbms?
Why are views required in the sql server or in any other database?
What is sql server programming?
What is the cartesian product of the table?
Does union all remove duplicates?
Explain Capacity planning to create a database? and how to monitor it?
How many types of relations are there between dimension and measure group? : sql server analysis services, ssas
How display code or Text of Stored Procedure using Sql query in Sql Server ?
Call by value and call by reference in procedure and function, with NOCOPY.