I have student marks in a student table. I need second
highest mark .Then what will the query for this?
Answer Posted / naresh
select top 1 age from student where age<(select top 1 age
from student where age<(select distinct max(age) from
student ))
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What will happen if a column containing char type data is changed to the nchar data type?
plss anybody specify tha constrian management system in dbms
What are the disadvantages of using the stored procedures?
Tell me what is the difference between locking and multi-versioning?
Explain aggregate functions?
What are the different authentication modes in sql server?
Explain filtered indexes?
What is subquery in sql?
What are four major operators that can be used to combine conditions on a where clause?
When to use null data driven subscription?
What is difference between inner join and full join?
What is "scheduled jobs" or "scheduled tasks"?
What is a table called, if it has neither cluster nor non-cluster index? What is it used for?
Define tempdb database?
What is transaction server auto commit?