Question: ( 1 5 Marks ) Create a host variable named g _ ename and populate it with any employee name from the EMP table. Then,

(15 Marks)
Create a host variable named g_ename and populate it with any employee name from
the EMP table. Then, write an anonymous block that displays the employee number, name
and job. Use local variables as required also making use of the %TYPE attribute whenever
possible in variable declaration. Finally, display the job status using the following rules:
Job is CLERK, status should be set to C
Job is ANALYST, status should be set to A
Job is MANAGER, status should be set to M
Any other job, status should be set to O
 (15 Marks) Create a host variable named g_ename and populate it

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!