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
Difference between primary key and clustered index?
Is sql server 2016 free?
How to count rows with the count(*) function in ms sql server?
How to create a user to access a database in ms sql server using "create user" statements?
How you can get the list of largest tables in a database?
What are different types of replication in sql server?
what is the different types of backups available in sql server? : Sql server database administration
Explain the concept of view and Types of views in SQL server?
What is the maximum number of index per table?
How to get the definition of a stored procedure back?
what is the difference in login security modes between v6.5 and 7.0? : Sql server database administration
How do I find the query plan in sql server?
Do you know what is replace and stuff function in sql server?
What is the data type of time?
What is the recovery model? List the types of recovery model available in sql server?