I have student marks in a student table. I need second
highest mark .Then what will the query for this?
Answer Posted / maheswar reddy s
select top 1 * from (select top 2 marks from student order by marks desc)a order by marks
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
explain what is a deadlock and what is a live lock? How will you go about resolving deadlocks? : Sql server database administration
What happens if null values are involved in bitwise operations?
What does asynchronous call backs means?
Can you force a query to use a specific index?
How to drop existing indexes in ms sql server?
What is SQL Azure Firewall?
How to end a stored procedure properly in ms sql server?
How to use “drop” keyword in sql server and give an example?
What is the preferred way to create a clustered and non-clustered index? Which index should you create first the clustered or non-clustered?
When a primary key constraint is included in a table, what other constraints does this imply?
How use inner join in sql server?
How to rename databases in ms sql server?
Explain the benefits of user-defined functions?
How to create a login account in ms sql server to access the database engine using "create login" statements?
What are rest-style architecture's?