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
How you trouble shoot when any job fails
What is self contained multi valued query?
Relational calculus is what type of language?
Mention what are the core components of ssrs?
How can i Relate Tables in SSIS
what is the difference between count(*) and count(1) ?
What is cursors? And what are the different types of cursor?
What is the minimum recommended amount of ram for sql server 2012 enterprise?
What are recommended options to be used while using db mirroring? : sql server database administration
What are the difference between “where” and “having” clause in sql server?
How do I start and stop sql server?
What is a trigger and its types?
Can group functions be mixed with non-group selection fields in ms sql server?
Is the primary key column of a table an index in ms sql server?
Explain what is the purpose of sql profiler in sql server?