How to find 6th highest salary from Employee table ?
Answer Posted / lince
select * from(select salary,dense_rank() over(order by salary desc) as rno from emp)T where T.rno=6
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is table valued function and scalar valued functions?
What are the difficulties faced in cube development? : sql server analysis services, ssas
Define Unique Key?
What is checkpoint in sql server?
What is the difference between a view and a stored procedure?
What happens if strings are casted into wrong code pages in ms sql server?
How do we upgrade from SQL Server 6.5 to 7.0 and 7.0 to 2000?
Difference Between ORDER BY Clause and GROUP BY Clause in SQL?
What is the difference between for trigger and after trigger?
Explain indexed views?
What is policy management?
List out the differences between the clustered index and non-clustered index in sql server?
hi i am working as a testengineer , so i want to no the backend data base connection can any one tell mwe in detail
How to provide values to stored procedure parameters in ms sql server?
How can you hide the sql server instances?