how to find nth highest salary
Answer Posted / ganesh prasad
all are not working properly incase repeat salary
this one is correct
select min(deptsal) from dept where deptsal in ( select
distinct top 4 deptsal from dept order by deptsal desc)
| Is This Answer Correct ? | 6 Yes | 14 No |
Post New Answer View All Answers
How to replace the Query Result 'Null Value' with a text ?
How to assign null values to variables or columns?
What are policy management terms?
How to get the definition of a trigger back?
Define inner join? Explain with an example?
What are the advantages of paper records?
Does sql server use t sql?
How do I debug a stored procedure in sql server?
Explain what are the authentication modes in sql server?
Write a query to find 5th highest amount paid from the customer table.
What is instead of dml trigger?
what is a deadlock? : Sql server database administration
How do we upgrade from SQL Server 6.5 to 7.0 and 7.0 to 2000?
Explain the various types of concurrency problem. I.e. Lost or buried updates, uncommitted dependency, inconsistent analysis, phantom read?
Explain indexed views?