how to find nth highest salary
Answer Posted / smitam
select top 1 salary from emp where (salary<(select max
(salary) from emp ))ORDER BY salary DESC
| Is This Answer Correct ? | 9 Yes | 21 No |
Post New Answer View All Answers
Explain what is public role in sql server?
What is perspective, have you ever created perspective? : sql server analysis services, ssas
Difference between aggregate functions of sql?
What are security principals used in sql server 2005?
Do you know what are the restrictions that views have to follow?
What are a database and a data warehouse?
How to recreate an existing index in ms sql server?
What do you understand by the denormalisation?
Does partitioning help performance?
What is the difference between count () and rowcount ()?
What is an index in sql?
What is the difference between ddl and dml?
How many servers can we create in a single subscription?
How do I view views in sql server?
Why we need to use secondry database file? though, we can do same work using primary database file also.