Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A customer would like a database design for an e-commerce website that sells books. He wants to store users, employees, inventory, and shopping cart data

image text in transcribed
A customer would like a database design for an e-commerce website that sells books. He wants to store users, employees, inventory, and shopping cart data for each user. Once the user checks out, their cart data can be assumed to be cleared from the database. Only some employees can alter inventory data and the owner wants to be able to monitor who is making inventory changes for audits. - How many relations would you need? What would they be? - What attributes would each relation have? Which ones would be primary keys? (one primary key per relation) - What foreign keys would each relation have? What links do these create and why is it necessary? - Given most databases can only store one item per attribute, how would the shopping cart be handled to allow for users to have an undetermined amount of items in their cart

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

Inductive Databases And Constraint Based Data Mining

Authors: Saso Dzeroski ,Bart Goethals ,Pance Panov

2010th Edition

1489982175, 978-1489982179

More Books

Students also viewed these Databases questions