I have student marks in a student table. I need second
highest mark .Then what will the query for this?
Answer Posted / b.bathakaraithangam,giri
select * from student where mark=(select max(mark) from
student where mark not in (select max(mark) from student))
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Why we use the openxml clause?
What is cursors? And what are the different types of cursor?
What are the advantages of using third-party tools?
Explain why variables called the most powerful component of ssis?
Explain what is raid and what are different types of raid levels?
Can we use max in where clause?
How to view existing indexes on an given table using sys.indexes?
Explain view in sql server?
Mention a few common trace flags used with sql server?
What is the sql server 2000 version number?
Is sql server free?
What is the difference between a "where" clause and a "having" clause?
Explain system views?
How do you size a resultset?
What is difference between rollback immediate and with no_wait during alter database?