Question: Please do the following Queries for the data in classicmodels database: 1 . create a view called salePerOrder that represents orderNumber and total sales for
Please do the following Queries for the data in classicmodels database: create a view called salePerOrder that represents orderNumber and total sales for each order. Then select all data in this view to show it create a view called bigSalesOrder based on the salesPerOrder view to show every sales order number and total when total is greater than Then select all data in this view to show it create a view called orderPayment that represents orderNumber, checkNumber and amount for orders. Then select all data in this view to show it create a view named officeInfo. The view refers to officeCode, phone and city. Then update the phone number of the office with officeCode through the officeInfo view to Then select all data for this updated one to show it after updating.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
