Question: IN SQL 5 (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

 IN SQL 5 (Consider table employees with the following colunms (EMPLOYEE_ID, IN SQL

5 (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, number of employees in each department. Your program should print department name and the number of employees in every category as shown: 'Below': if number of employees less than or equal 3 or department name start with A, 'Average': if number of employees greater than 3 and less than 10, and 'Above': if number of employees greater than or equal 10. Your program should also print the number of departments classified in each categories (Below, Average, Above). * 65 (12 Points) Enter your

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!