How to find out the second largest element from mysql table
Answer Posted / salil
SELECT max( t1.col )
FROM `table` t1
WHERE t1.col < (SELECT max( t2.col ) FROM `table` t2);
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
What is mysql default database?
What is the purpose of -> in the mysql terminal?
Explain Access Control Lists.
What is ibdata1?
What are the technical specifications of mysql?
What is different between sql and mysql?
Why mongodb is faster than mysql?
Is mysqli faster than mysql?
What is mysql sleep process?
How do I find users in mysql?
What is save point in mysql?
What is the command used to create a database using php and mysql?
How to create a table index in mysql?
What are the difference between now and current_date in mysql?
What is the default port of mysql server?