Write a query to find second highest salary of an employee.
Answer Posted / cooldude
select max(sal) from Emp where sal < (select max(sal) from
Emp)
| Is This Answer Correct ? | 14 Yes | 2 No |
Post New Answer View All Answers
Explain what is a subquery ?
Can we want to pass a parameter payroll_id to this external pl/sql function, how do we do it?
What are two statement types in sql?
Why is sharding used?
What is the function that is used to transfer a pl/sql table log to a database table?
What is the usage of distinct keyword?
How many commands are there in sql?
Why is pl sql used?
Explain alias in sql?
What does fetching a cursor do?
what are set operators in sql? : Sql dba
What is the difference between function and procedure in pl/sql?
Are stored procedures compiled?
how to fetch common records from two tables? : Sql dba
what is the difference between truncate and delete statement? : Transact sql