I have student marks in a student table. I need second
highest mark .Then what will the query for this?
Answer Posted / abhishek srivastava
select top 1 marks from (select top 2 distinct marks from
students order by marks desc)
order by marks
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
How to count groups returned with the group by clause in ms sql server?
What is self join in sql server joins?
How to create a user name in a database?
What program is used to store the data source file?
What is the usage of sign function?
What is implicit cursors?
Explain external key management in sql server 2008
How do I install sql server?
What are the difference between primary key and unique key? : sql server database administration
is there a column to which a default can't be bound? : Sql server database administration
What is the downside of using udf?
What is delete query?
What is data compression?
What is partition, how will you implement it? : sql server analysis services, ssas
explain databases and sql server databases architecture? : Sql server database administration