3. Create a procedure called DEL_JOB to delete a job from the JOBS table. a. Create a procedure called DEL_JOB to delete a job. Include the necessary exception handling code if no job is deleted. b. Compile the code; invoke the procedure using the job ID IT_DBA. Query the JOBS table and view the results. JOB_ID 308_TITLE MIN_SALARY MAX_SALARY 0 rows selected c. Test the exception handling section of the procedure by trying to delete a job that does not exist. Use the IT_WEB as the job ID. You should get the message that you included in the exception handling section of the procedure as the output. Error starting at line 1 in conand: EXECUTE del_job ('IT_VEB') Error EepoEt: ORA-20203: No jobs deleted. ORA-06512: at "BO. DEL_JUE" , line 6 ORA-06512: at 1ine 1 4. Create a procedure called GET_EMPLOYEE to query the EMPLOYEES table, retrie salary and job ID for an employee when provided with the employee ID. a. Create a procedure that returns a value from the SALARY and JOB specified employee ID. Compile the code and remove syntax errors, if any. b. Execute the procedure using host variables for the two OUT parameters-one for the salary and the other for the job ID. Display the salary the columns for a ma & Orace Only 1 job ID for employee ID 120. V_salary 8000 v_job ST_MAN c. Invoke the proce again, passing an EMPLOYEE ID of 300. What happens and why?
3. Create a procedure called DEL_JOB to delete a job from the JOBS table. a. Create a procedure called DEL_JOB to delete a job. Include the necessary exception handling code if no job is deleted. b. Compile the code; invoke the procedure using the job ID IT_DBA. Query the JOBS table and view the results. JOB_ID 308_TITLE MIN_SALARY MAX_SALARY 0 rows selected c. Test the exception handling section of the procedure by trying to delete a job that does not exist. Use the IT_WEB as the job ID. You should get the message that you included in the exception handling section of the procedure as the output. Error starting at line 1 in conand: EXECUTE del_job ('IT_VEB') Error EepoEt: ORA-20203: No jobs deleted. ORA-06512: at "BO. DEL_JUE" , line 6 ORA-06512: at 1ine 1 4. Create a procedure called GET_EMPLOYEE to query the EMPLOYEES table, retrie salary and job ID for an employee when provided with the employee ID. a. Create a procedure that returns a value from the SALARY and JOB specified employee ID. Compile the code and remove syntax errors, if any. b. Execute the procedure using host variables for the two OUT parameters-one for the salary and the other for the job ID. Display the salary the columns for a ma & Orace Only 1 job ID for employee ID 120. V_salary 8000 v_job ST_MAN c. Invoke the proce again, passing an EMPLOYEE ID of 300. What happens and why?
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
100%
please use sql to answer the following question as picture shown

Transcribed Image Text:3. Create a procedure called DEL_JOB to delete a job from the JOBS table.
a. Create a procedure called DEL_JOB to delete a job. Include the necessary exception
handling code if no job is deleted.
b. Compile the code; invoke the procedure using the job ID IT_DBA. Query the JOBS
table and view the results.
JOB_ID
J08_TITLE
MIN_SALARY
MAX_SALARY
0 rows selected
c. Test the exception handling section of the procedure by trying to delete a job that
does not exist. Use the IT_WEB as the job ID. You should get the message that you
included in the exception handling section of the procedure as the output.
Error starting at line 1 in conmand:
EXECUTE del_job ('IT_VEB')
Error repoEE
ORA-20203: No jobs deleted.
ORA-06512: at "BO. DEL_JUE" , line 6
ORA-06512: at line 1
4. Create a procedure called GET_EMPLOYEE to query the EMPLOYEES table, retri
salary and job ID for an employee when provided with the employee ID.
the
a. Create a procedure that retuns a value from the SALARY and JOB_
specified employee ID. Compile the code and remove syntax errors, if any.
b. Execute the procedure using host variables for the two OUT parameters-one for the
salary and the other for the job ID. Display the salary
olumns for a
demtme & Oraces
S Only
1 job ID for employee ID
120.
v_salary
8000
job
ST_HAM
c. Invoke the prod
why?
again, passing an EMPLOYEE_ID of 300. What happens and
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps

Recommended textbooks for you

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY