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

Answer Posted / appalanaidu

select max(marks) from studentmaster where marks < (select max(marks) from studentmaster)

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is usually the first word in a sql query?

812


What is the cpu pressure?

762


What changes in the front end code is needed if mirroring is implemented for the high availability? : sql server database administration

781


What is a database table?

697


What is the default Port No on which SQL Server listens?

819






What is a print index?

661


what are statistics, under what circumstances they go out of date, how do you update them? : Sql server database administration

684


Explain isolation levels that sql server supports?

761


What are the differences between union, intersect, and minus operators?

761


How many replicas are maintained for each SQL Azure database?

138


What is create statement?

680


tell me the disaster recovery plan

2188


Can we use trigger new in before insert?

679


What stored by the msdb? : sql server database administration

749


Which data type columns are the best candidates for full-text indexing?

755