Write a query to find second highest salary of an employee.
Answer Posted / amol londhe
Use the below Query:
Select Max(salary) from Emp
Where Max(salary) < (Select Max(salary) from emp
where emp-no=101);
| Is This Answer Correct ? | 10 Yes | 18 No |
Post New Answer View All Answers
what are the different type of sql's statements ? : Sql dba
Define union, minus, union all, intersect ?
What is the least restrictive isolation level? : Transact sql
What is the difference between python and sql?
What are some emotional triggers?
What is record type in pl sql?
How do I create an index in word?
What is sql profiling in oracle?
What is the difference between in and between in sql?
Explain autonomous transaction.
What is the difference between nvl function, ifnull function, and isnull function?
What is sql procedures and functions?
Do ddl statements need commit?
Why we use triggers in mysql?
Is a secondary key the same as a foreign key?