Question: Exercise 3 . 4 Write a PL / SQL block that will prompt for an employee# number ate runtime. The block will display the employee#

Exercise 3.4
Write a PL/SQL block that will prompt for an employee# number ate runtime. The block will
display the employee# and name, job description, salary and employee manager for all employee
working in the same department number as the input employee, see sample output below:
Enter employee_number: 7788
No. of staff: 5
Total salary: R10875
3.4.1 Use BASIC loop with PL/SQL variables.
3.4.2 Use WHILE loop with PL/SQL record.
3.4.3 Use cursor-FOR loop
3.4.4 Use BASIC or WHILE loop with parameter (the employee# should be treated as
parameter to the cursor.
 Exercise 3.4 Write a PL/SQL block that will prompt for an

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!