write the query for find the top 2 highest salary in sql
server
Answer Posted / ram murthy
SELECT TOP 1 salary FROM (SELECT DISTINCT TOP 2 salary FROM
employee ORDER BY salary DESC) a ORDER BY salary
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
what method you can use to reduce the overhead of Reporting Services data sources?
State the difference between union and union all?
What are different types of replication in sql server?
If user is owning any SQL Objects, can we drop that user
Give me any three differences between Truncate and Delete.
Write a sql query to delete duplicate records from a table called table1
How to delete existing triggers using "drop trigger"?
Why do we use non clustered index?
What are different backups available in sql server?
Does sql server use t sql?
What is candidate key with example?
Can we create clustered index on composite key?
Explain the flow of creating a cube? : sql server analysis services, ssas
What are orphan records?
How to send email from database?