write the query for find the top 2 highest salary in sql
server
Answer Posted / sivashankar.soma
select ename,sal from emp E where 1=(select count(*) from
emp where E.sal<sal)
| Is This Answer Correct ? | 16 Yes | 29 No |
Post New Answer View All Answers
How to rename an existing column with the "sp_rename" stored procedure in ms sql server?
If I delete a template from the list in sql studio, will it be deleted from the hard disk? : sql server management studio
What is the maximum size of column in sql server?
How does using a separate hard drive for several database objects improves performance right away?
How to get a list of all tables with "sys.tables" view in ms sql server?
what are the disadvantages of cursors? : Sql server database administration
What are the advantages of using a stored procedure?
What are commonly used mssql functions in php?
What is a non equi join?
How to create and drop temp table in sql server?
Can an entity have two primary keys?
What do you mean by an execution plan? How would you view it?
What are the system database in sql server 2005?
How to send a ssrs report from ssis?
explain how to create a new schema in a database? : Sql server database administration