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
Can sql server 2016 run on windows 7?
What do you mean by sql server 2005 express management tools?
Explain multiserver query
Explain the dirty pages?
What are the properties of the transactions?
Explain the properties of sub-query in sql server?
Why we need to use secondry database file? though, we can do same work using primary database file also.
What are the difference between primary keys and foreign keys?
How to start sql server browser service?
difference between Clustered index and non clustered index ?
When would you use it?
What are actions, how many types of actions are there, explain with example? : sql server analysis services, ssas
What is normalization of database? What are its benefits?
Explain following error properties?
How will you make an attribute not process? : sql server analysis services, ssas