how to find nth highest salary
Answer Posted / dewashish kumar pal
select salary from tablename t where (n-1)= (select count(*) from tablename where salary > t.salary);
note:- t = tablename
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Are resultset updatable?
What are data regions?
Will the writetext statement activate a trigger?
How many replicas are maintained for each sql azure db?
List down some advantages of sql stored procedure?
How to specify the collation for a character data type in ms sql server?
Explain full-text indexing?
How to invoke a trigger on demand?
as a part of your job, what are the dbcc commands that you commonly use for database maintenance? : Sql server database administration
How many types of stored procedures are there in sql server?
What do you understand by check constraint in sql server?
How to disable stored procedure sql server?
How do I setup a sql server database?
Explain how you can deploy an SSRS report?
What are the steps you should follow to start sql server in single-user mode?