I have student marks in a student table. I need second
highest mark .Then what will the query for this?
Answer Posted / sagesh
SELECT * FROM(
SELECT ROW_NUMBER() OVER (ORDER BY mark) AS Stu_Rank
FROM student) As T
WHERE Stu_Rank = 2
Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
Define outer join?
What is log shipping? Can we do logshipping with SQL Server 7.0 ?
What are logical/boolean operations in ms sql server?
Tell me what is the difference between locking and multi-versioning?
What is bcnf normalization form?
What do you mean by subquery?
How to rebuild master databse?
What is the difference between drop table and truncate table?
What is tablesample?
Can You Use A Stored Procedure To Provide Data To An Ssrs Report?
Explain atomicity?
How can you ensure that the database and sql server based application perform well?
What is SQL Azure Firewall?
What is the use of builtinadministrators group in sql server? : sql server security
How to backup SQL Server Reporting Services ?