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,
modelyr_id_int
from
employee
) a
where
rnk = 4
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Should you normalize audio?
Equi join and non equi join is possible with sql server?
what is database replicaion? : Sql server database administration
Which joins are sql server default?
How to create a dml trigger using create trigger statements?
Why do we backup Active Directory ?
What is the use of “join” in sql server?
hi, the following are the outputs of sp_spaceused and sp_tempdbspace sp_spaceused ------------ database size unallocated size tempdb 77752.95 MB 28026.99 MB sp_tempdbspace ------------- database size spaceused tempdb 77752.945312 1.007812 the unused space in sp_spaceused is nearly 28 Gb and in sp_tempdbspace is nearly 76 Gb cany any one explain about this output and why its giving different results.
what information is maintained within the msdb database? : Sql server administration
Are semicolons required at the end of sql statements in sql server 2005?
What is collation?
What is a partitioned view?
What are the rendering extensions of ssrs?
Do you know concepts and capabilities of sql server?
How check triggers in sql server?