how to find 2nd highest salary in random database salary of employer.....
Answer Posted / pankajbisane
select emp_name, salary from employee where salary = (select MAX(salary) from employee
WHERE salary <> (select MAX(salary) from employee ))
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can you rename a database in mysql?
What is unsigned int in mysql?
Can you tell how many values can set the function of mysql to consider?
What is definer in mysql?
How to represent ENUMs and SETs internally?
Can you tell how to find the number of rows in a resultset using php?
How do I change directories in mysql?
How does mysql store dates?
What is full text indexing in mysql?
What are enums used for in mysql?
What is difference between unix timestamp and mysql timestamp?
What is a result set object?
What is action query?
Does mysql support nosql?
Is mysql a nosql database?