please tell me the query to get details of the employee
having the second largest salary
Answer Posted / ravikiran
select top 2(salary) from emp_sal where
salary in (select sal from emp_sal order by sal desc)
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What is the Difference Between Primary and Foreign Key?
Explain insert into select statement?
Define outer join in sql server joins?
What is truncate table?
What is conditional split?
what are constraints? : Sql server database administration
What is the maximum size of column in sql server?
What is catalog views?
How do you delete duplicate rows in sql server?
What are cascading parameters in ssrs reports?
Explain different types of lock modes in sql server 2000?
you added a row to a view, but the row is not shown on the view. Explain how this can happen, and how you can remedy the situation
What is perspective, have you ever created perspective? : sql server analysis services, ssas
What is the recursive stored procedure in sql server?
What is a self join in sql server?