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
What is not null in mysql?
How many primary keys can be there in a table?
How to create trigger in mysql phpmyadmin?
Create table employee (eno int(2),ename varchar(10)) ?
What is a scalar function?
Why use mysql procedures?
What does blob mean in mysql?
Can you tell few best practices to be followed for optimization in sql?
How to show table structure mysql?
What is the limitation of mysql?
Is mongodb faster than mysql?
Why myisam is faster than innodb?
why not null is not allowed at table level
How do I copy a table in mysql workbench?
Is mysql same as sql?