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
desc.
| Is This Answer Correct ? | 13 Yes | 14 No |
Post New Answer View All Answers
Why do we use functions?
Explain sub-query?
How many types of dimensions are there and what are they? : sql server analysis services, ssas
What is the difference between web edition and business edition?
What are the rules to use the rowguidcol property to define a globally unique identifier column?
List the types of recovery model available in sql server?
What is acid db?
What is the importance of three tier architecture?
How do you run a trace?
What is the need for indexing?
How to assign null values to variables or columns?
Explain the steps needed to create a scheduled job?
Can binary strings be used in arithmetical operations?
Can group by be used without aggregate functions?
Explain what is the main purpose of having conversation group?