I have student marks in a student table. I need second
highest mark .Then what will the query for this?
Answer Posted / appalanaidu
select max(marks) from studentmaster where marks < (select max(marks) from studentmaster)
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain the rules for designing files and file groups in sql server?
What is partition index in sql server?
What is repeatable read?
What is a View ? Can we insert, Update and delete a view?
What is user-defined inline table-valued function?
How can a database be repaired?
What are types of storage modes? : sql server analysis services, ssas
what information is maintained within the msdb database? : Sql server administration
How do you create a clustered index?
What is dirty page?
How should i optimize the time for execution of stored procedure having single input and many output from the different tables?
What are indexers?
Why can there be only one clustered index and not more than one?
What is a derived table?
How do I schedule a sql server profiler trace?