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 a full text index?
What is 1nf normalization form?
what changed between the previous version of sql server and the current version? : Sql server database administration
Can two tables share a primary key?
What is the use of for clause?
What are the ways available in sql server to execute sql statements?
How to execute a stored procedure in ms sql server?
Tell me the difference between clustered and non-clustered index?
What is nonclustered index with included columns ?
What is a livelock?
What is the difference between Triggers and Stored Procedure?
Can we return Data from 4(more than 1) tables in stored procedure?
What is data source document?
what are the new features in SSRS?
How to find Duplicate Records In table?