Answered step by step
Verified Expert Solution
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,
Marks Create a host variable named gename 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
Marks
Create a host variable named gename 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
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