Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( 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
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

Understanding Oracle APEX 5 Application Development

Authors: Edward Sciore

2nd Edition

1484209893, 9781484209899

Students also viewed these Databases questions

Question

5.5 Summarize external recruitment methods.

Answered: 1 week ago