how to find nth highest salary
Answer Posted / dewashish kumar pal
Select max(salary) from tablename where salary not in (select max(salary) from tablename);
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How do I start sql server 2016?
Difference between primary key and clustered index?
What is the optimal disk configuration for a database server and what raid configurations would you use if budget is not a constraint?
How to make a column nullable?
What is a trigger what are the advantages of trigger?
What are the new security features added in sql server 2012? : sql server security
What Are the Main Features of SQL Azure?
can an automatic recovery be initiated by a user? : Sql server administration
Does a full backup include transaction log?
What is the difference between deallocate cursor and close cursor?
What is difference between getdate and sysdatetime in sql server 2008?
Describe and explain about SQL native client?
How to add a new column to an existing table with "alter table ... Add" in ms sql server?
Is a null value equal to anything? Can a space in a column be considered a null value? Why or why not?
What is sqlcmd?