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
If you lose rights to your sql server instance what are the options to connect to sql server instance? : sql server security
How real and float literal values are rounded?
What is DCL?
Write a SQL query in order to merge two different columns into single column?
Do you know what are various aggregate functions that are available?
Write a SQL query to make a column as unique?
What is the maximum number of index per table?
what information is maintained within the msdb database? : Sql server administration
What kind of problems occurs if we do not implement proper locking strategy?
How many replicas are maintained for each SQL Azure database?
What is report server project?
What are sparse columns?
What are the requirements on sql server network connections?
Describe how to use linked server?
Why SQL Agent is used?