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 port 3306 tcp or udp?
How to use like conditions?
How to write date and time literals?
What is the default port number of mysql?
Is mysql owned by oracle?
What is mysql_connect?
How do I delete a row in mysql?
What is the use of mysqli_query?
What is truncate command?
How do you create a primary key?
Is mysql a relational database?
What is federated tables in mysql?
how to search second maximum(second highest) salary value(integer)from table employee (field salary)in the manner so that mysql gets less load?
What are date and time data types in mysql?
How to declare variable in mysql trigger?