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

How triggers can be used in mysql?

791


How do I view a mysql database?

704


How do you flush privileges?

753


How to get nth highest salary from table in a mysql?

740


using primary can we relate two table, with out foreign key?

2507


Describe mysql transaction properties.

754


How many columns can a table have?

702


What is mysql server?

774


What is mysql connection limit?

722


What is query log in mysql?

714


What is procedure in mysql?

729


What is mysql sleep process?

751


How do I use mysql?

708


Is mysql a relational database?

656


How do I clear a mysql database?

753