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

What do you mean by % and _ in the LIKE statement?

765


What does tinyint mean?

715


How do I select a database in mysql?

754


What are the functions in mysql?

706


Is null in mysql?

659


How do I restart mysql on windows?

693


Is mysql free for enterprise?

695


In which language mysql has been written?

1079


What is mysql enterprise edition?

683


How internally data stores in MyISAM and INNODB table types?

2361


How set mysql root password?

705


Can you tell what are various ways to create an index?

654


What are mysql data types?

768


What is query log in mysql?

690


How do I grant privileges to a user in mysql phpmyadmin?

731