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
When we should use @@error?
What is an etl file?
How do you troubleshoot errors in a SQL Server Agent Job?
State a few properties of relational databases?
What is normalization? Explain different forms of normalization?
What is nested transaction?
What options are available to audit login activity? : sql server security
How to recreate an existing index in ms sql server?
What is resource db in sql server?
What is tempdb database? : SQL Server Architecture
OPTIMIZATION OF SP,CURSOR,TRIGGERS
What is a database in ms sql server?
What is use of attribute hierarchy optimized state? : sql server analysis services, ssas
What are the differences between decimal and float in ms sql server?
How to name query output columns in ms sql server?