Answered step by step
Verified Expert Solution
Link Copied!

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,

image text in transcribed

This is the table

image text in transcribed

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 CustomerZip

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data And Information Quality Dimensions, Principles And Techniques

Authors: Carlo Batini, Monica Scannapieco

1st Edition

3319241060, 9783319241067

More Books

Students also viewed these Databases questions

Question

1. What is perception?

Answered: 1 week ago

Question

=+3 In what ways can an MNE improve or change its approach to IHRM?

Answered: 1 week ago