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

A customer would like a database design for an e-commerce website that sells books. He wants to store users,

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? 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

3.56 Rating (160 Votes )

There are 3 Steps involved in it

Step: 1

1 I would need four relations users Stores information about the users of the website such as their name email address and shipping address employees ... 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

Step: 3

blur-text-image

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

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

12th edition

133544613, 978-0133544619

More Books

Students also viewed these Computer Network questions

Question

Determine the range of the 2x function y = 3 sec 3

Answered: 1 week ago