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

Answer Posted / aaaa

SELECT * FROM `student` WHERE class='Six' ORDER BY mark DESC
LIMIT 1,1

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you size a resultset?

588


List the types of recovery model available in sql server?

574


How to get nth highest salary from employee table.

694


How column data types are determined in a view?

607


How to deploy the Report?

97






Describe the functionalities that views support.

744


How do we Backup SQL Azure Data?

94


What is the use of keyword with encryption. Create a store procedure with encryption?

665


Difference between Sql server reporting services and Crystal reports?

132


How do I create a stored procedure in sql server?

605


What are the steps you must follow to hide sql server instances?

611


How to create a simple table to test triggers in ms sql server?

591


Explain how you can configure a running aggregate in SSRS?

123


What is msdb database? : SQL Server Architecture

623


How many clustered indexes can be created on a table? I create a separate index on each column of a table. what are the advantages and disadvantages of this approach?

773