The following details are given for an online store selling books. You are asked to develop the database for the online store.   There are different types of items sold at this online bookstore. E.g., books, magazines, and stationery items. Customers can register with the bookstore and order books, magazines, and other items. Customer details include a name (first name, middle name, and last name), date of birth, gender, login details (email, password), occupation, and contact number. Also, the system maintains multiple delivery addresses. Book details include the book title, a 50-word description, unit price, image of the book, author details, published year, edition, publisher, and language. One or many authors can write each book. Each author has a name, country, and expert area(s). The magazine has details, like the name of the magazine, publisher, price of the magazine, image of the magazine, month and year published, and the name of the editor. Stationery items include details like the item's name, unit price, image of the item, 20-word description, and item code. Customers will order items (books, magazines, and stationery items). The system will record the details, like delivery address, a special message to be included (e.g., birthday wish) to the receiver, quantity purchased from each item, ordered date, and delivery date. Also, the customer can enter the payment type (e.g., credit card, cash on delivery). The customer will be able to view the total amount to be paid via the system. Customers can check the delivery status via the system. Types of statuses are pending approval, packing, transit, and delivery. If the items purchased are damaged, then the Customers can return the items. Before the return, customers must make a complaint via the system for the relevant items in a specific order.   Based on the scenario:   Identify the entities, relationships, and their attributes, primary keys, and cardinality.  Draw the Enhanced Entity Relationship (EER) diagram.

A Guide to SQL
9th Edition
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Philip J. Pratt
Chapter2: Database Design Fundamentals
Section: Chapter Questions
Problem 11RQ
icon
Related questions
Question

The following details are given for an online store selling books. You are asked to develop the database for the online store.

 

  • There are different types of items sold at this online bookstore. E.g., books, magazines, and stationery items.
  • Customers can register with the bookstore and order books, magazines, and other items.
  • Customer details include a name (first name, middle name, and last name), date of birth, gender, login details (email, password), occupation, and contact number. Also, the system maintains multiple delivery addresses.
  • Book details include the book title, a 50-word description, unit price, image of the book, author details, published year, edition, publisher, and language.
  • One or many authors can write each book. Each author has a name, country, and expert area(s).
  • The magazine has details, like the name of the magazine, publisher, price of the magazine, image of the magazine, month and year published, and the name of the editor.
  • Stationery items include details like the item's name, unit price, image of the item, 20-word description, and item code.
  • Customers will order items (books, magazines, and stationery items). The system will record the details, like delivery address, a special message to be included (e.g., birthday wish) to the receiver, quantity purchased from each item, ordered date, and delivery date. Also, the customer can enter the payment type (e.g., credit card, cash on delivery). The customer will be able to view the total amount to be paid via the system.
  • Customers can check the delivery status via the system. Types of statuses are pending approval, packing, transit, and delivery.
  • If the items purchased are damaged, then the Customers can return the items. Before the return, customers must make a complaint via the system for the relevant items in a specific order.

 

Based on the scenario:

 

  • Identify the entities, relationships, and their attributes, primary keys, and cardinality. 
  • Draw the Enhanced Entity Relationship (EER) diagram.
AI-Generated Solution
AI-generated content may present inaccurate or offensive content that does not represent bartleby’s views.
steps

Unlock instant AI solutions

Tap the button
to generate a solution

Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr