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
How do you manipulate data?
Why do we partition data?
what is spatial nonclustered index
How many triggers are possible per table?
How do you trace the traffic hitting a sql server?
What is a system database and what is a user database?
Why do we use sql limitations? Which constraints can we use while making a database in sql?
How is a full-text index updated?
Do you know what are various aggregate functions that are available?
How to list all user names in a database?
what are the steps you will take to improve performance of a poor performing query? : Sql server database administration
Define left outer join in sql server joins?
How to create percentile function?
what are the different ways of moving data/databases between servers and databases in sql server? : Sql server database administration
How to disable triggers using "disable trigger"?