how to find nth highest salary
Answer Posted / dilip
SELECT MIN(SALARY) FROM tablealies.Table_Name WHERE SALARY
IN (SELECT DISTINCT TOP N MAX(SALARY) FROM
tablealies.Table_Name ORDER BY SALARY DESC)
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
You want to implement the one-to-one relationship while designing tables. How would you do it?
Define outer join in sql server joins?
Is natural join and equi join same?
What is local temp table?
What is an etl file?
What are cascading parameters in ssrs reports?
Explain transaction server implicit?
How many columns can exist together per table?
What information is maintained within the msdb database?
How do you delete a data source?
How do you delete duplicate records in sql server?
What do you understand by a stored procedure?
Do you know exporting and importing utility?
What is use of @@ spid in sql server?
What is a ddl statement?