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
Is mysql written in c?
How can you count the total number of records of any table?
Where is the mysql database stored?
Which is better sqlite or mysql?
Is mysql good for large database?
How to enter microseconds in sql statements?
What is new mysqli?
What is the function of myisamchk?
How to check if value already exists in mysql database in php?
How to show table names with 'mysqlshow'?
What is sharding in mysql?
How can we change the data type of a column of a table?
How do you name a table?
Is mysql a free database?
What is difference between oracle sql and mysql?