I have student marks in a student table. I need second
highest mark .Then what will the query for this?

Answer Posted / pravin more

select max(mark) from student where mark <
(select max(mark)from student)

Is This Answer Correct ?    53 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List the ways in which dynamic sql can be executed?

723


If you are given access to a SQL Server, how do you find if the SQL Instance is a named instance or a default instance?

757


How to delete existing rows in a table?

673


What is a trigger and types of a trigger?

645


What is dynamic cursor in SQL SERVER?

633






What are the different editions available in sql server 2000?

669


how to determine the service pack currently installed on sql server? : Sql server database administration

649


how can a database be repaired? : Sql server administration

584


What is set nocount on and what is set nocount off?

593


What is cross join in sql server joins?

700


Which feature in sql server 2008 has surprised you? You can name just one. : sql server database administration

569


What is clustered primary key?

644


Which is the best place or learning center for MS SQL?????In Bangladesh?????

1668


Explain mixed authentication mode of sql server?

626


How to create a new table in a given schema?

763