Menu

(Solved) : Hands Assignments Textbook Oracle 12c Sql Chapter 13 Explanations Appreciated Q37288426 . . .

Hands-on Assignments of textbook Oracle 12C: SQL chapter 13.Some explanations will be appreciated

To perform the following assignments, refer to the tables in the JustLee Books database. 1. Create a view that lists the name

7. Select one of the books in the REORDERINFO view and try to change its ISBN. Was an error message displayed when performing

To perform the following assignments, refer to the tables in the JustLee Books database. 1. Create a view that lists the name and phone number of the contact person at each 2. Change the CONTACT view so that no users can accidentally perform DML operations on 3. Create a view called HOMEWORK13 that includes the columns named Col1 and Col2 from publisher. Don’t include the publisher’s ID in the view. Name the view CONTACT. the view. the FIRSTATTEMPT table. Make sure the view is created even if the FIRSTATTEMPT table doesn’t exist. 4. Attempt to view the structure of the HOMEWORK13 view. 5. Create a view that lists the ISBN and title for each book in inventory along with the name and phone number of the person to contact if the book needs to be reordered. Name the view REORDERINFO. 6. Try to change the name of a contact person in the REORDERINFO view to your name. Was an error message displayed when performing this step? If so, what was the cause of the error message? 7. Select one of the books in the REORDERINFO view and try to change its ISBN. Was an error message displayed when performing this step? If so, what was the cause of the error message? Delete the record in the REORDERINFO view containing your name. (If you weren’t able to perform #6 successfully, delete one of the contacts already listed in the table.) Was an error message displayed when performing this step? If so, what was the cause of the error message? 8. 9. Issue a rollback command to undo any changes made with the preceding DML operations. 10. Delete the REORDERINFO view. Show transcribed image text To perform the following assignments, refer to the tables in the JustLee Books database. 1. Create a view that lists the name and phone number of the contact person at each 2. Change the CONTACT view so that no users can accidentally perform DML operations on 3. Create a view called HOMEWORK13 that includes the columns named Col1 and Col2 from publisher. Don’t include the publisher’s ID in the view. Name the view CONTACT. the view. the FIRSTATTEMPT table. Make sure the view is created even if the FIRSTATTEMPT table doesn’t exist. 4. Attempt to view the structure of the HOMEWORK13 view. 5. Create a view that lists the ISBN and title for each book in inventory along with the name and phone number of the person to contact if the book needs to be reordered. Name the view REORDERINFO. 6. Try to change the name of a contact person in the REORDERINFO view to your name. Was an error message displayed when performing this step? If so, what was the cause of the error message?
7. Select one of the books in the REORDERINFO view and try to change its ISBN. Was an error message displayed when performing this step? If so, what was the cause of the error message? Delete the record in the REORDERINFO view containing your name. (If you weren’t able to perform #6 successfully, delete one of the contacts already listed in the table.) Was an error message displayed when performing this step? If so, what was the cause of the error message? 8. 9. Issue a rollback command to undo any changes made with the preceding DML operations. 10. Delete the REORDERINFO view.

Expert Answer


Answer to Hands-on Assignments of textbook Oracle 12C: SQL chapter 13. Some explanations will be appreciated …

OR