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 is deploy, process and build? : sql server analysis services, ssas
What are security principals used in sql server 2005?
How to make a column nullable?
Explain what are the database objects? : SQL Server Architecture
What is the difference between nvl and nvl2?
What is the contrast between sql and mysql?
What is onf in normalization form?
What is store procedure? How do they work? When do you use?
How do I find the sql server version?
Can we use where clause in union?
What are three major types of constraints?
How to assign null values to variables or columns?
How many levels of sp nesting are possible?
How do I setup a local sql server database?
Explain the purpose of indexes?