write query for fourth maximum salary from employee table
Answer Posted / anish tuladhar
select
distinct salary
from
(
select
DENSE_RANK() over(order by salary desc) as rnk,
salary
from
employee
) a
where
rnk = 4
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain isolation levels that sql server supports?
Any one plz send me SQL Server Developer/DBA resume for 4 years experience
Explain what is the difference between union and union all?
What is the difference between a view and a stored procedure?
What is resource db in sql server?
What is difference between getdate and sysdatetime in sql server 2008?
State the difference between local and global temporary tables?
What is a full text index?
Define tool Manage Statistics in SQL Server 2000 query ?
what are different types of backups available in sql server? : Sql server database administration
What is the optimal disk configuration for a database server and what raid configurations would you use if budget is not a constraint?
What is nonclustered index with included columns ?
Tell me what do we need queues in sql service broker?
Define indexes?
What is tablesample?