Draw the Entity Relationships (ER) diagram and also design the relational database schema for the following activity: (20) The IGNOU book club has members. The book club sells books to its members. The member places orders for books, which the book club fulfills. Each order contains one or more than one book. The books are written by author(s). The publisher publishes the book. An author can write more than one book and a book can have more than one author. A book is published by a publisher, but a publisher publishes many books. A member can place more than one order. He/She also can choose not to place an order. The book club sells many books.
To address the activity of designing an Entity Relationship (ER) diagram and the relational database schema for the described scenario involving the IGNOU book club, we need to carefully analyze the requirements and identify the key entities, relationships, and attributes. Below is a detailed step-by-step explanation, including the ER diagram and relational schema.
### Step 1: Identifying Entities and Relationships
Based on the provided information, we can identify the following entities:
1. Member – The person who is part of the book club and may place orders.
2. Book – A book that is sold to the members.
3. Order – The transaction placed by a member to purchase one or more books.
4. Author – The writer(s) of the books.
5. Publisher – The organization or entity that publishes books.
### Step 2: Defining Attributes for Each Entity
Now, let’s define the attributes for each entity:
1. Member
- MemberID (Primary Key)
- Name
- Address
- Email
- Phone Number
2. Book
- BookID (Primary Key)
- Title
- ISBN (International Standard Book Number)
- Price
- Publication Year
3. Order
- OrderID (Primary Key)
- OrderDate
- MemberID (Foreign Key referencing Member)
- TotalAmount
4. Author
- AuthorID (Primary Key)
- Name
- Biography (optional)
5. Publisher
- PublisherID (Primary Key)
- Name
- Address
- Contact Information
### Step 3: Identifying Relationships Between Entities
The relationships between the entities can be deduced as follows:
1. Member and Order: A member can place multiple orders, but each order is placed by exactly one member. This is a one-to-many relationship (one member to many orders).
2. Order and Book: An order can contain one or more books, and a book can appear in many orders.
_________ ________ ______ _____ _____.
___ _____ _______ __________ ____ ________ _________ _______ ______ _______ _____ ________.
__________ ______ _________ __________ _________.
__________ __________ ______ _____ ___ ___ ______ _____ _________ _______ _______.
__________ _____ _______ __________ _______ __________ ______ ________.
_____ ______ _____ _________ ________ ______ _______ ______ _________ ______ _________.
_________ _______ ______ ____ ___ _________ ___ _______ __________ ___ __________ ____.
____ _______ _____ ___ ____ ___ _________ _________ _______ ____ _____.
_______ _________ _______ __________ _________ ___ ______.
_____ ___ _______ ___ _________ ___ _____ _________ _________ _____ ________.
____ __________ ___ ___ __________ _________ __________ ______.
_________ _________ __________ ______ ___ ____.
_______ ______ _____ _____ _________.
______ ________ ________ ________ ______ _______ ______ __________.
______ _____ __________ ___ _______.
______ ____ ________ _______ ______.
_______ ___ ___ __________ ______ ______ ________.
_________ ____ __________ _________ _________.
____ _____ _________ _________ __________ ____ _____ ____ ___.
________ ______ ______ __________ ___ ___ ________ __________ __________ _________.
_______ _________ _______ ___ _________ ____ ______.
_____ _______ __________ __________ _________ __________ ___ ___ ______.
____ _______ ______ ___ _____ _____ _______ _________ ______ _________.
_______ ___ ________ _____ ________ _______ __________ _______ __________.
__________ ____ _________ ________ _______.
______ ___ ___ ______ _________.
__________ ______ ___ ____ _______ ___ __________ _______ ___ _____ _______ ________.
_____ _________ __________ ____ ___.
________ ___ ______ ______ _____ __________ __________ ____ ______ __________ ______ __________.
_________ __________ _______ ____ ___ ______ _________ ______ _____.
___ ___ _______ __________ _______ _____ __________ __________ __________ __________.
_______ _______ ___ _________ ____.
_________ _____ _______ __________ ___ ________ ______.
_________ ______ _____ _____ __________ ____.
_______ _____ _______ _________ _____ ________ ____ _______ ______.
__________ ______ ___ ________ _____ __________.
_________ ________ ____ ___ _______ __________ _________.
___ __________ __________ ________ ___ ______.
_______ ___ ________ ______ ___.
_________ _________ ____ _____ _______.
______ __________ ___ ______ ________ _______ ___ ____ ___ ______ _________ _____.
___ _____ __________ _________ ______ ________.
__________ ________ __________ ___ ______ _____ _______.
____ ______ __________ _______ __________ ____ _____ ___ ____.
________ ____ _________ __________ __________ ___ __________ ___ ___ __________ _____.
__________ __________ ______ __________ _____ __________.
____ ______ ____ _____ _______ __________ __________ ________ _______ ______.
_______ ______ ______ ____ _________ __________ _____ ________ _____.
______ _________ ______ ________ ______ ______ ____ _________ _______.
__________ __________ __________ ___ ______ _________ _________ ______ _________ _____ ___ __________.
________ ___ _________ _______ __________ ________ ______ __________.
_____ _______ __________ _____ ________ __________.
______ ___ ____ ________ ________ ___ _____.
______ ________ _______ ________ ___.
_________ _____ ____ _______ _____ _____ _____ _________ ________.
__________ _____ _______ _______ ___ __________ ___.
___ _______ ____ ___ __________ ____ ___ _______ ___ ______.
________ ________ ___ __________ ___ _____ ______ _____.
_____ ____ ________ _____ _______ _________ _________ ________ ________ ____ ____ _______.
_________ __________ ______ _______ _____ ______ ______.
_________ _________ _______ ___ ___ __________ ___ _____.
_____ ________ ___ ______ _________.
_________ __________ ________ ___ __________ __________ _____ _________ _____ __________.
____ ________ ______ ___ ____ ____ _______ ____ __________.
___ ______ _______ ________ ____ ____.
_______ _____ _____ _____ __________ __________ _________ ________ __________ ________.
___ _______ _____ _____ ___ _______ ____ ______ __________ ___.
_______ __________ _________ ___ ______ _______ ______ ____.
__________ ____ _________ ___ _______ ___ ___ ___ ________ ________ __________ _______.
______ _________ _____ ____ _____ _______ ___ ________ _____ _______ ________.
_______ _____ _________ ___ ________ _____ _____ ______ ____.
_________ ________ ____ _______ ___ ________ ________ ________ ___ ___ __________.
__________ ____ ______ ____ ________ ____ ___.
____ _____ _________ ___ __________ _______ ___.
_______ _______ ___ ___ ______ _________ ________.
_________ ___ ________ _________ ___ ________ _____ ____ _________ __________ __________ ___.
____ ________ ______ ________ _____ _______ ______ ________ _________ ______ ______ _____.
__________ ____ _________ ___ ____ _______ _______ __________ _____ ____ ________.
____ ________ _____ ________ _________ ___.
______ __________ _________ _______ _________ _________ ________ _____ _______ ___ ____.
______ _________ _______ _______ __________ ______ _____.
____ ________ _____ ____ __________.
___ _________ ___ ______ _____ ____ _________ _______.
_________ _____ ______ ______ ________.
___ ______ _____ ___ _______ _____ __________ __________ _______ _________ ___ ________.
___ ______ ______ _____ _____ _____ ______ _____ ____.
________ ____ ______ _________ ________ __________ ______.
_________ ____ _____ ________ ___ ______ _____ _______.
____ __________ ____ ____ ________ _________ _________ _______.
___ __________ _________ ____ _______ ____ _________ ______.
- Solved Assignments
- Study Notes
- Guess Papers
- Question Papers
✓ Unlock up to 60% of the answer
✓ No payment required