how we can find nth max salary from an employe table by
using my sql?
Answer Posted / sumit
select salary from employee e1
where (n-1)=(select count(*) from employee where
salary>e1.salary)
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Why MySQL is used?
How to declare variable in mysql trigger?
How do you shutdown a mysql database?
What is delimiter in mysql trigger?
How to store binary data in mysql?
Is sql and mysql same?
Why do we need mysql?
Where does mysql store data?
How do I run mysql?
How do I select a database in mysql workbench?
What is the use of pdo?
What is the difference between the primary and unique key in mysql?
Define REGEXP?
What is the use of mysql_fetch_array () function in php?
What is pragma exception?