how to find nth highest salary
Answer Posted / elumalai.k
select salary from tablename t1
where n=(select count(*)from tablename t2
where t1.salary<=t2.salary)
| Is This Answer Correct ? | 16 Yes | 16 No |
Post New Answer View All Answers
List the different normalization forms?
What is the difference between sdf and mdf?
What is report rendering ?
When would you use sql joins?
You have a table ‘test’ which is a copy of northwind employee table you have written a trigger to update the field ‘hiredate’ with the current date
Are there any preferred steps that need to be taken care of before starting the installation of sql server 2000?
What is the current limitation of the size of SQL Azure DB?
Is it possible for a stored procedure to call itself or recursive stored procedure?
What is history table in sql server?
How to send email from database?
What are clustered and non-clustered index?
What is 5nf in normalization form?
What do you mean by the term 'normalization'?
What do you understand by a view?
What is the difference between update lock and exclusive lock?