Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 . Create a database called holy _ grounds 2 . Create the following tables based on the client s requirements: a . coffee _
Create a database called holygrounds
Create the following tables based on the clients requirements:
a coffeeinventory: This table will store information about all items in inventory.
i sku: An alphanumeric SKU
ii name: The brand and name of the coffee
iii. roasttype: The type of roast of each coffee DarkMedium or Light
iv lbsonhand: Total pounds of coffee on hand can be fractional
v organic: Only values, either organic or not
vi priceperlb: price per pound of each coffee as a fractional value
b salestransactions: This table contains records of each purchase made
i receiptid: A number automatically assigned when a transaction is made. While this is a smaller company, they do have multiple locations and online sales. They complete a total of approximately million transactions a year between these different revenue streams. This client likes to keep receipt records for multiple years.
ii saleamount: Amount of each purchase as a fractional value
iii. saletype: The type of purchase made Online or InStore
iv transactiondate: The date and time a transaction occurs
c Stores: This table hold information about all company stores where coffee is sold
i storeid: a numeric identifier automatically assigned when each store is opened
ii storemanager: The first and last name of each store manager.
iii. storephone: Each stores phone number using format: xxx xxxxxxx
iv storeaddress: The stores physical address including street name and number
v city: city in which the store is located
vi zip: The stores digit zip code
vii. state: two letter state abbreviation
Step 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