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
Write a PLSQL 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 employeenumber:
No of staff:
Total salary: R
Use BASIC loop with PLSQL variables.
Use WHILE loop with PLSQL record.
Use cursorFOR loop
Use BASIC or WHILE loop with parameter the employee# should be treated as
parameter to the cursor.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
