write the query for find the top 2 highest salary in sql
server
Answer Posted / shahid
select * from(select * from Employee order by salary desc) where rowNum<3
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
Explain the benefits of user-defined functions?
What is a document index?
How to execute function in stored procedure sql server?
hi, the following are the outputs of sp_spaceused and sp_tempdbspace sp_spaceused ------------ database size unallocated size tempdb 77752.95 MB 28026.99 MB sp_tempdbspace ------------- database size spaceused tempdb 77752.945312 1.007812 the unused space in sp_spaceused is nearly 28 Gb and in sp_tempdbspace is nearly 76 Gb cany any one explain about this output and why its giving different results.
Where sql server user names and passwords are stored in sql server? : sql server database administration
What is the difference between a function and a stored procedure?
what is the different types of backups available in sql server? : Sql server database administration
Explain about system stored procedure?
What are system databases into sql server (2005/2008)?
How to verify a login name with sqlcmd tool?
Benefits of Stored Procedures?
What are the differences between left join and inner join in sql server?
Explain how long are locks retained within the repeatable_read and serializable isolation levels, during a read operation with row-level locking?
Does sql server 2016 have ssms?
What are the types of indexing?