please tell me the query to get details of the employee
having the second largest salary
Answer Posted / eswar
select max(salary) from emp
where salary<(select max(salary) from emp)
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is the difference between for trigger and after trigger?
How do I edit a stored procedure in sql server?
What are the new features in SQL Server 2005 when compared to SQL Server 2000?
What is use of @@ spid in sql server?
Why is replication required on the sql server?
Do you know what is bit data type and whats the information that can be stored inside a bit column?
How to download and install sql server 2005 books online?
What is the difference between index seek vs. Index scan?
What is scalar user-defined function?
Explain how many normalization forms?
What are SSL and TSL protocols?
How to rebuild the master database?
What is filter index?
What is user-defined inline table-valued function?
What do you mean by cardinality?