1. Create a view that lists the name and phone number of the contact person at e
ID: 3857957 • Letter: 1
Question
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 HOMEWORK13 that includes the columns named Col1 and Col2 from Create a view caledHoEoRK13 hat nudesthe cumms na 3. 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. and phone number f the person to contact it the book needs to be reordered Name the 6. Try to change the name of a contact person in the REORDERINFO view to your name. of the error message?Explanation / Answer
1.
Create view CONTACT as Select contact,phone from Publisher;
2.
Create view CONTACT as Select contact,Phone from Publisher WITH READ ONLY;
3.
Create FORCE view HOMEWORK13 as select col1,col2 from FIRSTATTEMPT;
4.
Desc HOMEWORK13;
5.
Create view REORDERINFO as Select b.ISBN,b.Title p.name,p.Phone from Books b inner join Publisher p on b.PubID = p.PubID;
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.