6. Using Employees table with sub-queries, • Display the Department_Id, job_id and maximum Salary. Restrict the output for the employee_id, which is greater than to any employee_id from employees,...


Query design by referring the following scenario.
Scenario
company has a huge database to handle their employees’ details.
Most of the details regarding the employee activities and department details are stored in Employees
table and Departments table. Write the appropriate query to support the manager to complete the
following:


6. Using Employees table with sub-queries,<br>• Display the Department_Id, job_id and maximum Salary. Restrict the output for the<br>employee_id, which is greater than to any employee_id from employees, whose Salary is more<br>than or equal to 80000 and job_id is the same as to any of the job_id from employees, whose<br>Hire_date is after 01-January-1989.<br>Group it by department_id and job_id, whose maximum salary is more than or equal to 10000.<br>

Extracted text: 6. Using Employees table with sub-queries, • Display the Department_Id, job_id and maximum Salary. Restrict the output for the employee_id, which is greater than to any employee_id from employees, whose Salary is more than or equal to 80000 and job_id is the same as to any of the job_id from employees, whose Hire_date is after 01-January-1989. Group it by department_id and job_id, whose maximum salary is more than or equal to 10000.

Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here