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
Why variables called the most powerful component of ssis?
What will happen if a column containing char type data is changed to the nchar data type?
Difference between connected and disconnected database in .net with sql server?
What is trigger explain with program?
How to invoke a trigger on demand?
What is the use of “join” in sql server?
How to convert a numeric expression from one data type to another?
Determine when an index is appropriate?
What is the use of set nocount on/off statement?
How can we migrate from SQL server to SQL Azure?
Explain about thread and memory management process of SQL?
How to create prepared statements using odbc_prepare()?
What is data mart? : sql server analysis services, ssas
What is difference in performance between insert top (n) into table and using top with insert?
What are the advantages of paper records?