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
Where actually sql azure database is hosted?
Explain about system stored procedure?
Does sql server 2000 full-text search support clustering?
Difference between drill down and drill through report.
Explain the rules for designing files and file groups in sql server?
What is the difference between clustered and non-clustered indexes in ms sql server?
What is the use of toad or sqldbx.?
how you can deploy an ssrs report?
How will you optimize a stored procedure optimization?
What is sql service broker?
Which are ddl commands?
What is the sql case statement used for?
I have all the primary data files, secondary data files as well as logs. Now, tell me can I still restore the database without having a full backup? : sql server database administration
Explain what is it unwise to create wide clustered index keys?
What is the difference between having clause and where clause in sql server?