Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Exercise 3 . 2 Write a PL / SQL block using record that will prompt the user to enter employee number. A message must be
Exercise
Write a PLSQL block using record that will prompt the user to enter employee number. A
message must be displayed back to the user as follows. Make use of TYPE attributes.
Enter value for employeeno:
SMITH CLERK IS WORKING IN NEW YORK UNDER KING EARNING SALARY OF R
SINCE
Exercise
Write a PLSQL block that declare a cursor for all employees working in department as given
in the following sample output below, Make use of explicit cursor.
Revise the program code to make use of PLSQL record and include average salary,
maximum salary, and minimum salaries per department.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started