I have student marks in a student table. I need second
highest mark .Then what will the query for this?
Answer Posted / dharmendra k. dixit
SELECT TOP 1 Marks (SELECT TOP 2 Marks from Tablename Order
by Marks Desc)From Tablename order by Marks Asc
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
what do you understand by change data capture?
What is an indexed view?
How to replace given values with null using nullif()?
How to declare and use cursor variables?
Explain multiserver query
What is data set in report?
Can we delete data from a view?
Write a SQL command to insert and update only a particular field?
Explain what are page splits? : SQL Server Architecture
What is a non equi join?
What is trace flag in sql server?
what protocol both networks use? : Sql server database administration
What is a trace frag?
How to use copy and concatenate commands in SQL?
Can we call future method from queueable?