how to find nth highest salary
Answer Posted / smitam
select top 1 salary from emp where (salary<(select max
(salary) from emp ))ORDER BY salary DESC
| Is This Answer Correct ? | 9 Yes | 21 No |
Post New Answer View All Answers
Why do we need normalization?
Can we add our custom code in ssis?
Explain about the command-line tool SQLCMD?
What are system databases into sql server (2005/2008)?
What is function of ROLLUP ?
If a table does not have a unique index, can a cursor be opened on it?
What to perform pattern match with the like operator?
Why I have to use stored procedures?
Can we use trigger new in before insert?
According to you what goes into making the best database administrator? : sql server database administration
List the data types available in mssql?
What is the difference between DataRow.Delete() and DataRow.Remove()?
Where does the copy job runs in the log shipping primary or secondary? : sql server database administration
How can we delete a table in sql server?
Does windows server 2016 come with sql server?