How to find 6th highest salary from Employee table ?
Answer Posted / vj
with cte as
(
select dense_rank() over (order by salary desc)
maxSal ,* from Employee )
select * from cte where maxSal=6
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to generate create table script on an existing table in ms sql server?
What is meant by indexing files?
How can you find out which stored procedures are recompiling?
Explain tables in SQL Azure?
What is xdr?
Can two tables have the same primary key?
What the different components of Replication and what is their use?
What are the source of constraints?
How to find the list of fixed hard drive and free space on server?
What are Spatial data types in SQL Server 2008
What languages bi uses to achieve the goal?
Can we join two tables without primary key?
What is primary key index?
Do you know sql server 2008 backup compression?
What is the command used to check locks in microsoft sql server?