I have student marks in a student table. I need second
highest mark .Then what will the query for this?
Answer Posted / supriya
select max(marks) from student where marks not in (select
max(marks) from student)
| Is This Answer Correct ? | 10 Yes | 7 No |
Post New Answer View All Answers
Explain comment on transactions?
How to provide values to user defined function parameters?
What is triggers in ms sql server?
What is a livelock?
What is inline table-value user-defined function?
Mention a few common trace flags used with sql server?
Why we use the openxml clause?
How to create a large table with random data for index testing in ms sql server?
What are the default system databases in sql server 2000?
How do you make a trace?
What are out-of-range errors with date and time literals?
What is the order by used for?
What is subquery in sql?
What are the mathematical functions supported by sql server 2005?
How to use subqueries with the in operators in ms sql server?