how to find nth highest salary
Answer Posted / bhanu prakash
SELECT TOP 1 * FROM (SELECT TOP N * FROM EMPSAL ORDER BY ID DESC) A ORDER BY ID
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is “begin trans”, “commit tran”, “rollback tran” and “savetran”?
What is the current limitation of the size of SQL Azure DB?
Explain Geometry datatype in sql server 2008 with example
Does full backup break log chain?
Define self join in sql server joins?
Why and when do stored procedure recompile?
What are the new features introduced in SQL Server 2000 (or the latest release of SQL Server at the time of your interview)? What changed between the previous version of SQL Server and the current version?
do you know what is a deadlock and what is a live lock? How will you go about resolving deadlocks? : Sql server database administration
Explain rdbms?
How can you append an identity column to a temporary table?
Explain magic tables in sql server?
What are the benefits of normalization?
Why de-normalization required?
How many primary keys are possible in a table?
What are diverse clauses that form a part of sql?