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 return query output in html format?
Why do we use group by and order by function in mysql?
What are the limitations of mysql?
How to check if a record exists in a mysql database php?
How to delete a column and add a new column to database
all the queries used in sql
How to find second highest salary from a table?
write a command to view the content of the table
What is the use of mysqli_fetch_assoc?
Where the database is stored in mysql?
How do I install and use mysql?
What is ibdata1?
How to write date and time literals?
how to search second maximum(second highest) salary value(integer)from table employee (field salary)in the manner so that mysql gets less load?
How do I setup a mysql database?