how to find nth highest salary
Answer Posted / balindra sahani
select max(salary) from table_name where max(salary)not
in(select top(n) from table_name order by salary asc)
where n=nth number salary
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is sql azure database?
Explain what is use of dbcc commands?
what is a sub-report?
What is tempdb in sql server?
What is #temp and @table variable in SQL server?
How do I partition a table in sql server?
Explain nested trigger in sql?
What is single-user mode and what are the steps you should follow to start sql server in single-user mode?
What is index fragmentation in ms sql server?
What is Command line parameters in PLSQL.?
What is join query?
What does executeupdate return?
How can I change procedure name in sql server?
What is the impact on other user sessions when creating indexes?
What is log ldf?