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
How do I use mysql?
What is new mysqli?
Does uninstalling mysql delete database?
What is the use of mysqli_fetch_assoc?
How do I find mysql database?
What are different types of queries?
How many ways we can retrieve the date in result set of mysql using php?
What is the latest version of mysql?
Why do gaps in sequences occur?
What is difference mysql and mysqli?
How do you say mysql?
How we can create index in mysql?
Do you need a license for mysql?
What is a procedure example?
What's the difference between mysql and sql server?