how we can find nth max salary from an employe table by
using my sql?

Answer Posted / whatinaname

select max(salary) from employee
order by salary desc limit n-1, 1

Is This Answer Correct ?    14 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you validate emails using a single query?

454


What is difference mysql and mysqli?

508


What is the difference between truncate and delete?

593


What is a table schema?

534


What is mysql optimization?

483






How to create table show example

530


What mysql -u john -p command does?

512


What is truncate command?

456


How does limit work in mysql?

467


What is the date format in mysql?

450


Why phpmyadmin is used for mysql?

501


What, if a table has one column defined as TIMESTAMP?

554


How do I start mysql?

492


Can we write pl sql mysql?

501


What is mysql aggregate functions? Explain

525