I have student marks in a student table. I need second
highest mark .Then what will the query for this?
Answer Posted / sanah
select top 1 marks from marks where marks
<(select max(marks) from marks) order by 1 desc
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
Define compound operators?
We are updating a field in sql and alter the row also.after giving the commit command the system is crashed.what will happen to the commands given,whether it will update and alter the table or not?
What are extended events in sql server?
In which tcp/ip port does sql server run? Can it be changed?
What is page in sql server?
What xml support does the sql server extend?
What are the differences in Clustering in SQL Server 2005 and 2008 or 2008 R2?
What are the lambda triggers?
What is default port number for sql server 2000?
What is a full text index?
How to configure odbc dsn with different port numbers?
how to determine the service pack currently installed on sql server? : Sql server database administration
What is a heap?
What is cross join in sql server joins?
Explain transaction server explicit transaction?