how to find nth highest salary
Answer Posted / sunil patel
with cte as (
SELECT DENSE_Rank() OVER(PARTITION BY ecc_dm_id_dep ORDER
BY ecc_gross_simple DESC) AS RowID,
*
FROM emp_curr_company
)
SELECT *
FROM cte
WHERE RowID = 2
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
How to integrate the ssrs reports in application?
What is Federation and Federation Member?
Explain transaction server explicit transaction?
What is temporal data type?
Tell me what is a linked server?
What are different types of table joins?
What is user-defined multi-statement table-valued function?
how to control the amount of free space in your index pages? : Sql server database administration
What are triggers? How do you invoke a trigger on demand?
Name few of the dcl commands in sql?
What is the purpose of update statistics and scope_identity() function?
Do you know clustered and non-clustered index?
How can you manage sql azure security?
What is policy management?
How to get a list of columns in a view using the "sp_help" stored procedure?