How to find out the second largest element from mysql table

Answer Posted / prashant chaudhary

select name,marks from Student_Info where marks = (select
max(marks) from Student_Info where marks <
(select max(marks)from Student_Info ))

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define REGEXP?

719


How important is to list the column names when doing an insert?

674


Can we save images in mysql database?

552


What is InnoDB?

642


Is oracle mysql free?

552






What is triggers and how it can be used in mysql?

599


What is max connection in mysql?

574


What does blob mean in mysql?

579


How do I show users in mysql?

588


What are the functions of commit and rollback statements?

632


How many ways to get the current time?

595


What is the limit of mysql database?

566


What you can use regular expression for in mysql? Support your answer with an example?

545


How to create table show example

605


Why use mysql procedures?

587