CS403 - 1 - Assignment 1 (23-Apr - 29-Apr) - Answer
CS403 - 1 - Assignment 1 (23-Apr - 29-Apr) - Answer
Search Book
Manage Books
Online
Admin Bookstore Add to Cart
Customer
Manage Orders
Make Payment
Answer:
Entities and their attributes:
1. Book
ISBN (Primary Key)
Title
Publication Year
Price
Quantity in Stock
Genre(s)
2. Author
Author ID (Primary Key)
Name
Biography
3. Genre
Genre ID (Primary Key)
Genre Name
4. Customer
Customer ID (Primary Key)
Name
Email Address
Shipping Address
5. Order
Order ID (Primary Key)
Customer ID (Foreign Key)
Order Date
Total Price
6. Order Detail
Order Detail ID (Primary Key)
Order ID (Foreign Key)
ISBN (Foreign Key)
Quantity
Price at the Time of Purchase
Name
Author ID Bio
Author Phone
Name
Number
M Customer ID Email
Customer
Address
Have
1
Have