Answered step by step
Verified Expert Solution
Question
1 Approved Answer
10 (Consider table employees with the following colunms (EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL PHONE_NUMBER HIRE_DATE ,JOB_ID SALARY COMMISSION_PCT, MANAGER_ID, DEPARTMENT_ID) Declare a cursor that display department
10 (Consider table employees with the following colunms (EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL PHONE_NUMBER HIRE_DATE ,JOB_ID SALARY COMMISSION_PCT, MANAGER_ID, DEPARTMENT_ID) Declare a cursor that display department name, average of salaries in each department Your program should print department name and average of salaries in every category as shown: 'Below: if average of salaries is less than or equal 3000, 'Average': if average of salaries is greater than 3000 and less than 10000, and "Above: if average of salaries greater than or equal 10000. Your program should also print the department name that have the maximum salary. * (12 points)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started