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
Explain about SQL server 2005?
Explain can SSRS reports Cache results?
How to write the storeprocedure with in the store procedure? and how can we write the store procedure with in a trigger vice versa? plz post me the exact answer?
What is a scheduled job or what is a scheduled task?
How you provide security to cube? : sql server analysis services, ssas
What is an indexing strategy?
What are the diifferences between the ms sql server vs mysql?
What is lookup override?
What does it mean to normalize a database and why would you do it?
What is snapshot report?
New concepts of sql server 2005 use in your project.
How except clause is differs from not in clause?
difference between Clustered index and non clustered index ?
Write a program to fetch first 10 records from a file?
What are extended events in sql server?