Question: Lab Exercises: Create a view name patient containing the customer number, first name, Seller _ ID for all customers whose Seller ID is 1 2

Lab Exercises:
Create a view name patient containing the customer number, first name, Seller_ID for all customers whose Seller ID is 122. Name the columns (Customer_Number, Name, Seller_Id).
Insert a new customer with id=12 to the view with Seller_ID =122. Choose values for the other columns.
Insert a new customer with id =13 to the view with Seller_ID =123. Choose values for the other columns.
Recreate the view with "WITH CHECK OPTION".
Repeat (3) with customer id =14. Justify your results.
Recreate the view with "WITH READ ONLY"
Repeat (3) with customer id =15. Justify your results.
Create a view that contains the seller's name and the number of customers for each seller.
Create an index for customer name in the customer table.
 Lab Exercises: Create a view name patient containing the customer number,

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!