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 are the differences between triggers and stored procedures?
What is the purpose of the master database?
How to deploy the Report?
What are orphan records?
what are constraints? Explain different types of constraints? : Sql server database administration
what is the main function of a query parameter?
What is stored in the mssqlsystemresource database? : sql server database administration
What is instead of dml trigger?
Define Joins?
What are the different types of replication you can set up in sql server?
What is acid properties?
Can a table be moved to different filegroup?
What is normalization process?
How to trouble shoot if unable to connect SQL Server
What are different types of views?