Write a query to find second highest salary of an employee.
Answer Posted / shahid parvez
select max(sal) from Emp where sal < (select max(sal) from
Emp)
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Which command is used to call a stored procedure?
Explain how you can copy a file to file content and file to pl/sql table in advance pl/sql?
How would you reference column values before and after you have inserted and deleted triggers?
What do we need to check in database testing?
Is join same as left join?
What is the difference between having clause and where clause?
what is a trigger? : Sql dba
Can triggers stop a dml statement from executing on a table?
How can I change database name in sql?
What plvcmt and plvrb does in pl/sql?
How many tables can you join in sql?
What is a relationship and what are they?
How to change a value of the field ‘salary’ as 7500 for an employee_name ‘john’ in a table employee_details?
Is it possible to create startup or shutdown trigger for on-schema?
What is a crud api?