I have student marks in a student table. I need second
highest mark .Then what will the query for this?
Answer Posted / suman
select max(mark) from student where mark <
(select max(mark)from student)
Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
How to call a function from a stored procedure in SQL Server ?
What is the difference between system objects and user objects?
What is a with(nolock)?
Does a sql server 2005 select statement require a from?
What is a collation?
Which sql server table is used to hold the stored procedure script?
Which data types generate inaccurate results if used with an = or <> comparison in a where clause of a sql statement?
What is the New in SQL server 2008?
What is indexing in sql server with example?
What is bookmark link in ssrs?
what is the difference between delete table and truncate table commands? : Sql server database administration
How to create a new table in a given schema?
How to set database to be single_user in ms sql server?
What is Transparent Data Encryption?
can any body tell me how to know the password of current user in sql server