how to find nth highest salary
Answer Posted / guru
select max(salary) from Employee where salary not in(select
top (n-1) salary from Employee order by salary desc)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is it possible to create trigger on views?
What is hierarchy, what are its types and difference between them? : sql server analysis services, ssas
What the difference between UNION and UNIONALL?
What is a Join and explain its types?
What is a join in sql?
How to round a numeric value to a specific precision?
What is sqlcmd?
What is provisioning, billing and metering, and connection routing concepts in the service layer?
What are different backups available in sql server?
Explain about protocol layer present in SQL server?
How to enter unicode character string literals in ms sql server?
Tell me what is the significance of null value and why should we avoid permitting null values?
What is attribute? : sql server analysis services, ssas
A trigger can reference objects outside the current database? State true or false.
What is table level trigger?