I have student marks in a student table. I need second
highest mark .Then what will the query for this?
Answer Posted / rupa
Select max(Marks) from Marks where Marks <
(select max(Marks)from Marks)
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Can we perform backup restore operation on tempdb?
If a user does not have permission to a table, but has permission to a view created on it, will he be able to view the data in table?
Tell me about builtinadministrator?
What is user defined stored procedures?
Why are views required in the sql server or in any other database?
How we create SQL Server 2005 Reporting Services ? Give me Sample
What is the difference between seek predicate and predicate?
what are the different ways to return the rowcount of a table?
How many columns can exist together per table?
Due to some maintenance being done, the sql server on a failover cluster needs to be brought down. How do you bring the sql server down?
How you can get the list of largest tables in a database?
How to list all triggers in the database with sys.triggers in ms sql server?
How to execute function in stored procedure sql server?
What is the partitioning method?
You want to implement the many-to-many relationship while designing tables. How would you do it?