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 many clustered indexes can be created on a table? I create a separate index on each column of a table. what are the advantages and disadvantages of this approach?
How to connect to a sql server using odbc_connect()?
Is port 1433 secure?
Differentiate between ms sql server reporting services vs crystal reports?
When to use null data driven subscription?
What is user defined stored procedures?
What are the types of subquery?
Explain what is cte (common table expression)?
What is a deadlock and what is a live lock?
can an automatic recovery be initiated by a user? : Sql server administration
what is the Ticketing tool used in Wipro technologies at Bangalore...???
Is sql server difficult to learn?
What is a trace frag?
What do you mean by SQL injection attack?
Find nth lowest salary or get nth lowest salary?