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
Explain the various types of concurrency problem?
Write a program using SQL queries to find a unique entry in a table.
Sql server reporting services vs. Crystal reports.
How do I run a trace in sql server?
What is data file in computer?
Is oracle faster than sql server?
What is change tracking in sql server?
Difference between report and query parameter. Why do we need different type of parameter?
Can we insert data if clustered index is disabled?
How do I know if localdb is running?
What is sub-query in sql server? Explain its properties.
How to recover from sql injection? : sql server security
Mention the different types of replication in sql server.
How sql server enhances scalability of the database system?
What are the advantages of using a stored procedure?