Question: Database SQL To perform the following assignments, refer to the tables in the JustLee Books database. Create a view that lists the name and phone
To perform the following assignments, refer to the tables in the JustLee Books database. 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. Change the CONTACT view so that no users can accidentally perform DML operations on the view. Create a view called HOMEWORK13 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. Attempt to view the structure of the HOMEWORK13 view. 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. To perform the following assignments, refer to the tables in the JustLee Books database. 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. Change the CONTACT view so that no users can accidentally perform DML operations on the view. Create a view called HOMEWORK13 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. Attempt to view the structure of the HOMEWORK13 view. 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
