how to find nth highest salary
Answer Posted / yogesh
select e2.salary
from emp e1
join emp e2
on e1.salary >= e2.salary
group by e2.salary
having count(e2.salary) = n
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
 Explain what is sql override for a source taLle in a mapping?
how would you store your query in an SSRS report or a Database server?
What have included columns when we talk about sql server indexing?
What is difference between count (*) and count column?
How many tables can be joined in SQL Server?
define and explain the differences between clustered and non-clustered indexes.
What language is sql server written in?
What is the difference between DataRow.Delete() and DataRow.Remove()?
Is t sql the same as sql server?
How to check if stored procedure is running in sql server?
what is the difference between count(*) and count(1) ?
What is sql server english query?
What are the differences between left join and inner join in sql server?
What is forward - only cursors / read only cursor?
How each E-R model constructs can be mapped to the relational model?