How to find 6th highest salary from Employee table ?
Answer Posted / lince thomas
select salary from(
select row_number() over(order by salary desc) as rno,*
from Employee)T where T.rno=6
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are the different editions available in sql server 2000?
What are the aggregate and scalar functions?
What are the new features of sql server 2012 reporting service?
What are 3 ways to get a count of the number of records in a table?
How to delete exactly duplicate records from a table?
What are the indexes in sql server?
What is the temp table?
What is the difference between Normalization and De-normalization?
What does dml stand for?
How can you know if the row fetched from cursor is still valid in underlying table?
How much is a sql server license?
How do you test your database? : sql server database administration
How would you choose between a clustered and a non-clustered index?
What is the contrast between sql and mysql?
What is normalization? Describe its different types.