How to find out the second largest element from mysql table

Answer Posted / nikhil mishra

SELECT Salary FROM tablename order by Salary desc limit 1,1

Is This Answer Correct ?    24 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

HOW TO FIND display the total number of weeks in the year of 1998 IN EMP TABLE

1887


How to create and drop view in mysql?

577


What does innodb stand for?

595


What is difference between group by and order by clause?

625


Write a query to create a database and a table?

578






Suppose you have to collect the first name, middle name and the last name of students from the below table. But, you observe that there few missing values either in the first name, middle name and the last name columns. How will you return the first non-null values?

555


What mysql means?

573


How can we find out which auto increment was assigned on Last insert?

720


How do you say mysql?

559


How do you concatenate strings in mysql?

601


What is blob in mysql?

584


What is the use of mysql_close()?

587


How can I see connections in mysql?

565


How to represent ENUMs and SETs internally?

742


Why do we use views instead of tables?

568