Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please do the following sql script, This is the table 13 create a view over the product, salestransaction, includes, customer, store, region tables with columns:
Please do the following sql script,
This is the table
13 create a view over the product, salestransaction, includes, customer, store, region tables with columns: tdate, productid, productname, productprice, quantity, customerid, customername, storeid, storezip, regionname create view 13; -- 14 Using the view created in question 13 Display ProductID, Product Name, Product Price for products sold in zip code "60600" sorted by ProductID select 14; -- 15 Using the view from question 13 display CustomerName and TDate for any customer buying a product "Easy Boot" select 15; -- 16 Using the view from question 13 display RegionName and total amount of sales in each region as "Amount Spent" select 16; VENDOR VendorID VendorName PRODUCT ProductID ProductPrice ProductName VendorID (FK) CategoryID (FK) REGION RegionID Region Name CATEGORY CategoryID CategoryName STORE StoreID StoreZip RegionID (FK) INCLUDES ProductID (FK) TID (FK) Quantity SALES TRANSACTION TID TDate StoreID (FK) CustomerID (FK) CUSTOMER CustomerID CustomerName CustomerZipStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started