Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

11 (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

image text in transcribed
11 (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).* (12 Points) Enter your answer 12

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Under what circumstances is a detailed audit apt to be useful?

Answered: 1 week ago

Question

Example. Evaluate 5n+7 lim 7-00 3n-5

Answered: 1 week ago

Question

What is the purpose of the Salary Structure Table?

Answered: 1 week ago

Question

What is the scope and use of a Job Family Table?

Answered: 1 week ago