I have student marks in a student table. I need second
highest mark .Then what will the query for this?
Answer Posted / siva prakasam
SELECT TOP (1) stuMark
FROM Student
WHERE stuMark < (SELECT MAX(stuMark) FROM Student)
ORDER BY stuMark DESC
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What encryption security is available in sql azure?
What stored procedure can you use to display the current processes?
Explain table valued parameters in sql server? Why tvp used?
List some advantages and disadvantages of stored procedure?
Explain in details security in SQL azure?
what is a schema in sql server 2005? : Sql server database administration
What is a matrix in ssrs?
What is tcl in sql server?
What are diverse clauses that form a part of sql?
What is b tree index?
why would you use sql agent? : Sql server database administration
What is the difference between a function and a trigger?
What is index, cluster index and nonclustered index?
plss anybody specify tha constrian management system in dbms
What are the various editions of sql server 2017 that are available in the market?