How to find out the second largest element from mysql table
Answer Posted / lekhraj deshmukh
select marks from tbl_data where marks<(select max(marks)
from tbl_data) order by marks desc limit 1;
| Is This Answer Correct ? | 21 Yes | 11 No |
Post New Answer View All Answers
How to start mysql server?
Does mysql need a server?
Explain timestamp?
Why do we use preparedstatement?
Why do we write stored procedures?
What is auto increment in mysql?
What is 'mysqlimport'?
How does triggers work in mysql?
Is mysql a nosql database?
What is unique key in mysql?
What are the differences between a primary key and foreign key?
What is mysqlcommand?
What is append query?
What is difference between mysql and mariadb?
How to present a past time in hours, minutes and seconds?