I have student marks in a student table. I need second
highest mark .Then what will the query for this?
Answer Posted / lokeshwaran s
SELECT MAX(marks) AS second_highest_mark
FROM student
WHERE marks < (SELECT MAX(marks) FROM student);
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is difference between clustered and non clustered index?
List types of tables in SQL Azure?
Do you know hot add cpu in sql server 2008?
What is a matrix in ssrs?
What is resultset concur_updatable?
Describe different Processing Modes offered by SSRS?
What do you mean by a Composite primary key?
You want your report to display a hyperlink that will take users to your intranet. How do you configure such a hyperlink?
What are the elements of dbms?
What xml support does the sql server extend?
What is the full form of ddl?
What is the default sql server instance name?
How do I debug a stored procedure in sql server?
What is the difference RDBMS and Graph Database?
How to configure odbc dsn with different port numbers?