Please get the 4 th maximum salary from a table without
using any sql keyword (TOP,MAX are mot allowed)
Answer Posted / gajendra
select * from (select *,row_number()over (order by salary
asc)as a from Employee)as b where b.a=4
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What is efficiency data?
What are the disadvantages of using the stored procedures?
What are system databases into sql server (2005/2008)?
What functions can a view be used to performed?
what stored procedure can you use to display the current processes? : Sql server administration
List all types of constraints in sql server?
What is use of attributehierarchyenabled? : sql server analysis services, ssas
What is the difference between writing data to mirrored drives versus raid5 drives
Can we insert data if clustered index is disabled?
What is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting is possible?
What is in place upgrade in sql server?
Explain hostprotectionattribute in sql server 2005?
How many types of database relationship in sql server?
How to send email from database?
What is nested transaction?