Answered step by step
Verified Expert Solution
Question
1 Approved Answer
add this to sql information Database Structure The following tables should already represent the structure of your RetailSales database. Database: Retail Sales Table: Ottawa.Customers Table:
add this to sql information Database Structure The following tables should already represent the structure of your RetailSales database. Database: Retail Sales Table: Ottawa.Customers Table: Ottawa.Suppliers Column Name Character Type Max Characters Column Name Character Type Max Characters CUSTOMERID int PK SUPPLIERID int PK FIRSTNAME varchar SUPPLIERNAME varchar LASTNAME varchar ADDRESS varchar ADDRESS varchar CITY varchar CITY varchar PROVINCE varchar PROVINCE varchar POSTALCODE varchar PHONENUMBER varchar PHONENUMBER varchar Table: Ottawa.Products Table: Transactions Column Name Character Type Max Characters Column Name Character Type Max Characters PRODUCTID int PK TRANSNUM int PK DESCRIPTION varchar PRODUCTID int FK COST money CUSTOMERID int FK RETAILPRICE money RETAILPRICE money SUPPLIERID int FK QUANTITY int Table Information: Add the following information into the tables. Customers Table CustomerID: FirstName: Henriette LastName: Samuel Address: Kings Cross Lane City: Marionette Province: QC PostalCode: RT N PhoneNumber: CustomerID: FirstName: Rosina LastName: Strinati Address: Hopkins Lane City: Kingston Province: ON PostalCode: UY L PhoneNumber: CustomerID: FirstName: Fillipo LastName: Candreva Address: Ferrari Drive City: Folliero Province: BC PostalCode: YK K PhoneNumber: CustomerID: FirstName: Raffaele LastName: Spina Address: Gianni De Luca St City: Vulcan Province: AB PostalCode: PT PhoneNumber: Suppliers Table SupplierID: SupplierName: Multimicro Inc Address: Multimicro Way City: Laval Province: QC PostalCode: UP Y PhoneNumber: SupplierID: SupplierName: ChrisCo Address: Wild Goose Road City: WaWa Province: ON PostalCode: PS A PhoneNumber: Products Table ProductID: Description: Logitech Ergo K Cost: RetailPrice SupplierID ProductID: Description: High Speed K HDMI Cable, ft Cost: RetailPrice SupplierID Transactions Table TransNum: CustomerID: ProductID: RetailPrice: Quantity: TransNum: CustomerID: ProductID: RetailPrice: Quantity:
add this to sql information Database Structure
The following tables should already represent the structure of your RetailSales database.
Database: Retail Sales
Table: Ottawa.Customers Table: Ottawa.Suppliers
Column Name Character Type Max Characters Column Name Character Type Max Characters
CUSTOMERID int PK SUPPLIERID int PK
FIRSTNAME varchar SUPPLIERNAME varchar
LASTNAME varchar ADDRESS varchar
ADDRESS varchar CITY varchar
CITY varchar PROVINCE varchar
PROVINCE varchar POSTALCODE varchar
PHONENUMBER varchar PHONENUMBER varchar
Table: Ottawa.Products Table: Transactions
Column Name Character Type Max Characters Column Name Character Type Max Characters
PRODUCTID int PK TRANSNUM int PK
DESCRIPTION varchar PRODUCTID int FK
COST money CUSTOMERID int FK
RETAILPRICE money RETAILPRICE money
SUPPLIERID int FK QUANTITY int
Table Information:
Add the following information into the tables.
Customers Table
CustomerID:
FirstName: Henriette
LastName: Samuel
Address: Kings Cross Lane
City: Marionette
Province: QC
PostalCode: RT N
PhoneNumber:
CustomerID:
FirstName: Rosina
LastName: Strinati
Address: Hopkins Lane
City: Kingston
Province: ON
PostalCode: UY L
PhoneNumber:
CustomerID:
FirstName: Fillipo
LastName: Candreva
Address: Ferrari Drive
City: Folliero
Province: BC
PostalCode: YK K
PhoneNumber:
CustomerID:
FirstName: Raffaele
LastName: Spina
Address: Gianni De Luca St
City: Vulcan
Province: AB
PostalCode: PT
PhoneNumber:
Suppliers Table
SupplierID:
SupplierName: Multimicro Inc
Address: Multimicro Way
City: Laval
Province: QC
PostalCode: UP Y
PhoneNumber: SupplierID:
SupplierName: ChrisCo
Address: Wild Goose Road
City: WaWa
Province: ON
PostalCode: PS A
PhoneNumber:
Products Table
ProductID:
Description: Logitech Ergo K
Cost:
RetailPrice
SupplierID
ProductID:
Description: High Speed K HDMI Cable, ft
Cost:
RetailPrice
SupplierID
Transactions Table
TransNum:
CustomerID:
ProductID:
RetailPrice:
Quantity:
TransNum:
CustomerID:
ProductID:
RetailPrice:
Quantity:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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