Question

Draw an ER diagram for the book store. Specify key attributes and constraints of each entity type and on each relationship type. Note any unspecified requirements and make appropriate assumptions to make the specification complete. 

27 Apr 2023
Answer :
Word Count : 413

the diagram will be described using standard ER notation.

Entities:

  1. Book
  • Attributes: book_id (primary key), title, author, genre, publisher_id (foreign key), publication_date, price
  • Constraints: Each book has a unique book_id. A book is associated with only one publisher.
  1. Publisher
  • Attributes: publisher_id (primary key), name, address, contact_number
  • Constraints: Each publisher has a unique publisher_id.
  1. PurchaseOrder
  • Attributes: order_id (primary key), publisher_id (foreign key), order_date, total_amount
  • Constraints: Each purchase order has a unique order_id. A purchase order is associated with only one publisher.
  1. OrderItem
  • Attributes: order_item_id (primary key), order_id (foreign key), book_id (foreign key), quantity
  • Constraints: Each order item has a unique order_item_id. An order item is associated with one purchase order and one book.
  1. Inventory
  • Attributes: book_id (primary key), quantity
  • Constraints: Each inventory entry has a unique book_id. The quantity represents the number of copies of the book available in
____ ______ _________ _________ _______ _____ ________ ________ _____.
___ ___ _____ ______ ________.
______ __________ ________ __________ ___ __________ ____ ________ ___ _________.
________ ______ ______ ___ __________ ________.
_________ __________ _______ _________ ____ _______ __________.
_____ ____ _______ ____ ______ _________.
____ ___ _______ _________ __________.
___ _______ ___ __________ _______ ______ _________ __________ __________.
_________ ________ __________ _________ ___ __________.
_______ ______ ______ _____ _______ _________ _____ __________.
_____ _____ __________ ______ ________ __________ ______.
_____ ______ ____ __________ _______ __________ ________.
____ _______ ____ _______ ________ __________ _______ _____ ___ ______ ________ ___.
__________ ___ __________ ____ ________.
_____ _____ ____ _______ ______.
_____ ____ ______ _______ ____ _________ _____.
______ _______ ___ _________ _______ ______ __________ _________.
_____ ________ __________ __________ __________ _________ _____ _____ ___.
_______ ___ _________ _______ ______ _____ ____ _______ _______ _______ _________ _______.
________ ___ ____ __________ _______ ________ ___.
__________ ______ ____ __________ ______ ______.
_________ ___ _________ ________ _____ ___ ___ ____ ______ _____ ________ ____.
_______ __________ _______ _______ ____ _______ ___ ________ _______ _____.
_________ _____ __________ ___ ______ ____ ________ ______ __________ _______ _______ ________.
______ _______ __________ ____ __________ ________ __________.
______ _______ ______ _________ _______ ___ ____ __________ ___ ____.
_____ _____ ____ ___ ____ _________.
__________ ________ ___ _______ ______ _______ _________ __________ ___.
______ ___ _____ ___ __________ ______ ______ ________ _______ ________.
______ _______ _______ ________ ____ ______ __________ ________ ______ _____.
_____ _________ ___ __________ _________ __________ _______.
________ _______ ____.
IGNOU ACADEMY
Your IGNOU journey, made easier.
  • Solved Assignments
  • Study Notes
  • Guess Papers
  • Question Papers
Skip in 10
Top
📞
Call Support Instant phone assistance IGNOU MCS 207 2022 2023 - Draw an ER diagram for the book store. Specify key attributes and cons | IGNOU Academy
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→