how to find nth highest salary
Answer Posted / kavitha. r
select top 1 salary from employee where salary in (select
top n salary from employee order by salary desc) order by
salary desc
| Is This Answer Correct ? | 12 Yes | 40 No |
Post New Answer View All Answers
Is port 1433 secure?
What is difference between table aliases and column aliases? Do they affect performance?
what is checksum in sql server.........???
Can you please explain the difference between function and stored procedure?
What is update_statistics command?
What is SubQuery in SQL Server 2008
Describe how to use linked server?
Can we add an identity column to decimal datatype?
Define normalisation?
What does it mean if @@cursor_row returns a negative number?
How to assign null values to variables or columns?
What are the extra roles available in msdb? : sql server security
What is join query?
Can foreign key be deleted?
Can we join two tables without primary key?