how to find nth highest salary
Answer Posted / ganesh prasad
all are not working properly incase repeat salary
this one is correct to finding 4th highest salary try run
your system then call me 9438183722
select min(deptsal) from dept where deptsal in ( select
distinct top 4 deptsal from dept order by deptsal desc)
Is This Answer Correct ? | 5 Yes | 14 No |
Post New Answer View All Answers
Can one drop a column from a table?
What does select 1 mean?
How to override dml statements with triggers?
What is the server name in sql server?
What is join and name different type of joins?
What is the maximum size of column in sql server?
What is dirty read?
How to drop existing views from a database in ms sql server?
What is dimension table? : sql server analysis services, ssas
what are the new features introduced in sql server 2000? : Sql server database administration
Tell me about builtinadministrator?
Which are the third-party tools used in sql server and why would you use them?
What is difference between Datepart() and Datename() in SqlServer?
Define tool Manage Statistics in SQL Server 2000 query ?
Why use cursor in sql server?