Question: Based on the provided table, execute the following: 1 . Write a code block that updates the ` duration ` to 1 8 for `

Based on the provided table, execute the following:1. Write a code block that updates the `duration` to 18 for `course_id`1001. Test whether the modification has affected any records. Print the number of modified records with the message "Modification done" if successful. Otherwise, handle the error using the `raise_application_error` procedure and display a message (-20010,'No course with this ID') if the modification did not occur.2. Handle the error using the `raise_application_error` procedure if the modification process did not take place, displaying a message to the user (-20010,'No course with this ID').3. Create a function that takes `course_id` as input and returns the course title. Call this function.4. Write a comment with your full name.5. Capture a clear image of the code.Translate this text into English.
 Based on the provided table, execute the following:1. Write a code

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!