Starting from:

$30

ITSE2309-Lab 11 Views Solved

1.       Create a view that lists the name and phone number of the contact person at each publisher. Don’t include the publisher’s ID in the view. Name the view CONTACT.

 

2.       Change the CONTACT view so that no users can accidentally perform DML operations on the view.

 

3.       Create a view called LAB11 that includes the columns named Col1 and Col2 from 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 LAB11 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?

 

8.       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?

 

9.       Issue a rollback command to undo any changes made with the preceding DML operations.

 

10.    Delete the REORDERINFO view.

More products