please use store procedures to answer the following question Create a procedure to update Job Title for a given JOB_ID This procedure is called Update_Job_Title will have two INPUT parameters. p_job_id as VARCHAR2 as INPUT parameter and also p_new_job_title as VARCHAR2 as INPUT parameter. In BEGIN and END executable section Execute UPDATE command on JOBS table to change title of a JOB_ID Here is the command that you can use in BEGIN and END UPDATE JOBS SET job_title= p_new_job_title WHERE job_id= p_job_id; Test your code by executing procedure for below job_id. Currently in Jobs table you have Job_id = ‘MK_MAN’ and job_title=’ Marketing Manager’ Change title from Marketing Manager to Marketing Sr. Manager execute Update_Job_Title(‘MK_MAN’, ‘Marketing Sr. Manager’ )
SQL
SQL stands for Structured Query Language, is a form of communication that uses queries structured in a specific format to store, manage & retrieve data from a relational database.
Queries
A query is a type of computer programming language that is used to retrieve data from a database. Databases are useful in a variety of ways. They enable the retrieval of records or parts of records, as well as the performance of various calculations prior to displaying the results. A search query is one type of query that many people perform several times per day. A search query is executed every time you use a search engine to find something. When you press the Enter key, the keywords are sent to the search engine, where they are processed by an algorithm that retrieves related results from the search index. Your query's results are displayed on a search engine results page, or SER.
please use store procedures to answer the following question
- Create a procedure to update Job Title for a given JOB_ID
This procedure is called Update_Job_Title will have two INPUT parameters.
p_job_id as VARCHAR2 as INPUT parameter and also p_new_job_title as VARCHAR2 as INPUT parameter.
In BEGIN and END executable section
Execute UPDATE command on JOBS table to change title of a JOB_ID
Here is the command that you can use in BEGIN and END
UPDATE JOBS SET job_title= p_new_job_title WHERE job_id= p_job_id;
Test your code by executing procedure for below job_id.
Currently in Jobs table you have Job_id = ‘MK_MAN’ and job_title=’ Marketing Manager’
Change title from Marketing Manager to Marketing Sr. Manager
execute Update_Job_Title(‘MK_MAN’, ‘Marketing Sr. Manager’ )
Step by step
Solved in 2 steps