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
Explain different types of BACKUPs avaialabe in SQL Server? Given a particular scenario, how would you go about choosing a backup plan?
What is difference between standardization and normalization?
Explain what is the difference between a local and a global temporary table?
What is change data capture (cdc) feature?
How many types of relations are there between dimension and measure group? : sql server analysis services, ssas
What are the differences between decimal and float in ms sql server?
sql database suspect We have a sql database that is showing as suspect. How can we recover?
Write a query to include a constraint, to check whether the employee salary is greater than 5000?
after migrating the dts packg to ssis by using migrtn wizrd in 2005. iam not able to open ssis pack and getting error. what r those errors? how to resolve?
What is reportserver and reportservertempdb ?
What does top operator do?
What does asynchronous call backs means?
Does sql server use t sql?
create index myindex on mytable(mycolumn) what type of index will get created after executing the above statement? : Sql server database administration
What are the types of containers in ssis?