write the query for find the top 2 highest salary in sql
server
Answer Posted / karan
select empname,sal from empdpt e where 1=(select count(*) from
empdpt where e.sal<sal)
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What have included columns when we talk about sql server indexing?
How to list all schemas in a database?
What are the different sql server versions?
Explain the benefits of user-defined functions?
Tell me in brief how sql server enhances scalability of the database system?
What is report snapshot in ssrs?
How to generate random numbers with the rand() function in ms sql server?
How to create percentile function?
How do I setup a local sql server database?
Does sql server 2000 clustering support load balancing?
When I run the sql server 2000 setup, it just hangs. What do I do?
When does a workload on SQL Azure get throttled?
Explain Normalization and DE normalization
Explain error and transaction handling in sql server?
What is checkpoint in sql server?