I have student marks in a student table. I need second
highest mark .Then what will the query for this?
Answer Posted / naresh
select top 1 age from student where age<(select top 1 age
from student where age<(select distinct max(age) from
student ))
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is data source object?
What are system databases into sql server (2005/2008) : sql server database administration
Tell me what is use of except clause? How it differs from not in clause?
Does server sql treat char as a variable-length or fixed-length column?
How to transfer a table from one schema to another?
What is the purpose of object explorer and its features? : sql server management studio
What is indexing and its types?
While using a cursor, how can you differentiate between a deleted row and a row that has been inserted with null data values?
What is dirty read?
What is resultset concur_updatable?
Explain four layers of abstraction microsoft architectured?
Explain subquery and state its properties?
What is standby servers? Explain types of standby servers.
What is bit data type?
Why do we need different type of parameter?