how to find nth highest salary
Answer Posted / gopi mandadi
Select emp_no,name,dept,sal from emp_t A
Where &n = (Select sal from emp_t B Where A.sal <= b.sal)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Describe how to use the linked server?
Can you force a query to use a specific index?
What are the security related catalog views? : sql server security
How to Update from select query in sql server?
Explain the categories of stored procedure i.e. System stored procedure, local stored procedure, temporary stored procedure, extended stored procedure, remote stored procedure?
What is create command?
Describe and explain about SQL native client?
What is the difference between locking and multi-versioning?
What are differences in between sql server 2012 and sql server 2016?
What is the difference between coalesce() & isnull()?
What are some of the pros and cons of not dropping the sql server builtinadministrators group? : sql server security
Different types of keys in SQL?
how to control the amount of free space in your index pages? : Sql server database administration
How to find index size for each index on table?
What is the order by used for?