How to find out the second largest element from mysql table
Answer Posted / prashant chaudhary
select name,marks from Student_Info where marks = (select
max(marks) from Student_Info where marks <
(select max(marks)from Student_Info ))
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
Explain the different types of mysql joins.
How to use in conditions?
What is mysqlcommand?
Is there a way to see the files which are stored?
How to dump a table to a file with 'mysqldump'?
What is a definer?
Transactions are used to treat sets of SQL statements atomically. State Whether True or False?
How do I truncate all tables in mysql?
What happens if null values are involved in expressions?
How do I automate a backup in mysql?
How can you add and remove any column of a table?
Can a table have multiple primary keys?
Is mysqli deprecated?
How to show all records starting with the letters 'sonia' and the phone number '9876543210'
write a query to mysql in safe mode and to change the root password