how to find nth highest salary
Answer Posted / guru
select max(salary) from Employee where salary not in(select
top (n-1) salary from Employee order by salary desc)
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to provide default values to function parameters?
What is the main purpose of having conversation group?
What is key attribute?
What area unit the various kinds of info compression introduced in sql server 2008?
Is there any difference between the primary key and unique key?
what is denormalization? : Sql server database administration
Explain view in sql server?
Explain the stored procedure?
How to check what was the last restore transaction LSN in Log shipping or Mirroring? when we don't have a Monitor or witness server.
How to use "begin ... End" statement structures in ms sql server?
Can we use having clause without group by?
What do you think of this implementation? Can this be implemented better?
What is triggers and its types?
What is not null constraint?
What is relationship? What number of sorts of relationship are there?