Answer Posted / cpnagar
SELECT salary FROM (SELECT ROW_NUMBER() OVER (ORDER BY
salary desc) AS RN,*
FROM
emp)temp
WHERE
RN=3
Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What is the correct order of the logical query processing phases?
What is a heap?
How to rename an existing table with the "sp_rename" stored procedure in ms sql server?
What is normalization 1nf 2nf 3nf?
Explain what is lock escalation and what is its purpose?
What is database isolation in sql server? : sql server database administration
What is the difference between rank and dense_rank?
Explain different types of self contained sub query?
What is set nocount on and what is set nocount off?
What are the kinds of subquery?
Distinguish between commit and rollback?
Can foreign key be deleted?
What is blocking and how would you troubleshoot it? : sql server database administration
What is inline variable assignment?
I have triggers,views,functions,stored Procedures for a table. When I am dropping that table which objects are deleted?