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 ms sql server service broker?
What gets stored inside msdb database?
What is acid properties?
What is difference between rownum and row_number?
What is purpose of normalization?
How to list all triggers in the database with sys.triggers in ms sql server?
How to create dbo table in sql server?
How to choose all records from the table?
What is Federation and Federation Member?
How to deploy the Report?
What is triggers and its types?
How do we upgrade from SQL Server 6.5 to 7.0 and 7.0 to 2000?
Is it possible to call a stored procedure within a stored procedure?
Write a SQL query in order to merge two different columns into single column?
Mention the differences between sql server and mysql.