Question: Write pl/sql code to display each job type along with number of employees working under this job, as show below. Output will be like: ******
Write pl/sql code to display each job type along with number of employees working under this job, as show below.
Output will be like:
- ****** CLERK *******
- total number of employees : 4
- ****** SALESMAN *******
- total number of employees : 4
- ****** ANALYST *******
- total number of employees : 2
- ****** MANAGER *******
- total number of employees : 3
- ****** PRESIDENT *******
- total number of employees : 1
Note:
1-Use explicit cursor.
2-Use for loop.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
