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
What is use of dbcc commands?
What is key attribute?
What is explicit mode in sql server?
What is meant by dirty read?
How do I find the sql server database version?
What is read uncmmited?
How to set a database state to offline in ms sql server?
Can we use where clause with group by?
What are the types of sql server?
What are the acid properties?
Explain what is the purpose of sql profiler in sql server?
What is a sql join?
Explain four layers of abstraction microsoft architectured?
What is difference between equi join and natural join?
What is transaction server consistency?