Answered step by step
Verified Expert Solution
Link Copied!

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 3.2
Write a PL/SQL 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 employee_no: 7839
7369-SMITH (CLERK) IS WORKING IN NEW YORK UNDER KING EARNING SALARY OF R1250.00
SINCE 1983
Exercise 3.3
Write a PL/SQL block that declare a cursor for all employees working in department 10 as given
in the following sample output below, Make use of explicit cursor.
3.3.1 Revise the program code to make use of PL/SQL record and include average salary,
maximum salary, and minimum salaries per department.
image text in transcribed

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

Recommended Textbook for

Refactoring Databases Evolutionary Database Design

Authors: Scott Ambler, Pramod Sadalage

1st Edition

0321774515, 978-0321774514

More Books

Students also viewed these Databases questions

Question

What are the classifications of Bank?

Answered: 1 week ago