how to find nth highest salary
Answer Posted / amarjit singh
--display 3rd higest salary in MSSQLSERVER
select max(sal) from emp
where sal <(select max(sal) from emp
where sal <(select max(sal) from emp
))
--By , STUDENT OF IET BHADDAL ENG COLLEGE
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain error handling in ssis?
Explain four layers of abstraction microsoft architectured?
What are Row versions of DataRow?
Explain what is public role in sql server?
What happens when unicode strings concatenate with non-unicode strings?
sql database suspect We have a sql database that is showing as suspect. How can we recover?
What is spid in sql server profiler?
What is the command dbcc checkdb used for?
How do you delete duplicate rows in sql server?
Explain multiserver query
What is the difference between Stored Procedures and triggers?
Define outer join in sql server joins?
What is inner join in sql server joins?
What is database black box testing?
What is sql server management studio? : sql server management studio