I have student marks in a student table. I need second
highest mark .Then what will the query for this?
Answer Posted / jyoti bikash panda
select a.marks from student a where(select count(b.marks)
from student b where a.marks<=b.marks)=2
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What extended events?
What are dml triggers and types of dml triggers?
what are the steps you will take to improve performance of a poor performing query? : Sql server database administration
What Are the Main Features of SQL Azure?
Explain what are the different index configurations a table can have?
How to select all columns of all rows from a table with a select statement in ms sql server?
What are the drawbacks of reporting in ssrs?
What is system stored procedures?
What is simple indexing method?
When I run the sql server 2000 setup, it just hangs. What do I do?
What do you think of this implementation? Can this be implemented better?
How do I get to sql server configuration manager?
what is an extended stored procedure? Can you instantiate a com object by using t-sql? : Sql server database administration
Difference between report and query parameter.
Explain indexing and what are the advantages of it?