List the entities, their attributes and relationships for the description and make an ER-diagram for this e-Commerce Portal. You may use the concept of keys, aggregation, generalisation, cardinality etc. in a proper way. Design the suitable RDBMS tables for the ER-diagram created by you. The database design should include keys, foreign keys, constraints and referential integrity constraints. Your database design must be normalized up to 3rd Normal form. Make necessary assumptions wherever require.
E-Commerce Portal Description:
An e-commerce portal is an online platform that facilitates the buying and selling of products and services. It allows customers to browse through various product categories, view product details, add items to their cart, and complete the purchase process. The portal also enables sellers to list their products, manage inventory, and handle orders and shipments.
Entities, Attributes, and Relationships:
- Customer: Attributes: CustomerID, FirstName, LastName, Email, Password, Address, City, State, ZipCode, Phone Relationships: Customers can place multiple Orders, and an Order is placed by one Customer.
- Product: Attributes: ProductID, ProductName, Description, Price, Quantity, CategoryID Relationships: A Product belongs to one Category, and a Category can have multiple Products.
- Category: Attributes: CategoryID, CategoryName, Description Relationship: A Category can have multiple Products.
- Order: Attributes: OrderID, OrderDate, ShippingAddress, ShippingCity, ShippingState, ShippingZipCode, TotalAmount, CustomerID Relationships: An Order is placed by one Customer, and an Order can have multiple OrderItems.
- OrderItem: Attributes: OrderItemID, OrderID, ProductID, Quantity, Price Relationships: An OrderItem belongs to one Order, and an OrderItem is associated with one Product.
- Seller: Attributes: SellerID, SellerName, Email, Password, Address, City, State, ZipCode, Phone Relationships: A Seller can list multiple Products, and a Product is listed by one Seller.
ER-Diagram:
+------------+ +-------------+ | Customer | | Order | +------------+ +-------------+ | CustomerID | | OrderID | | FirstName | | OrderDate | | LastName | | ShippingAddr| | Email | | ShippingCity| | Password | | ShippingState | Address | | ShippingZip | | City | | TotalAmount | | State | | CustomerID | | ZipCode | +-------------+ | Phone | | | +------------+ | | | +-------------+ |1 N | | +----------------+ | +-------------+ | OrderItem |
_____ ________ _____ ________ ______ __________ ___ ________ _____ ____ ______ _________.
____ _____ ________ ____ _________ __________ ________.
____ ______ ____ _____ __________.
_______ _____ _________ _______ ________ _________.
_________ _____ ______ _____ __________ _______.
_____ _______ ___ _______ _________ ____ _____ ______.
____ ____ __________ __________ _________ ______ ____.
______ ______ ______ ________ ________ _____ ______ _________.
___ ________ _________ __________ ____.
______ ________ _________ _________ __________ ______ _____ ____.
_____ __________ ___ __________ __________ __________ ____.
___ ____ _________ ____ _________ ________ _________ ___ ___ _________.
_______ _______ ___ ___ _____ ____ _______ ______ ___ _______.
____ _____ _____ _____ __________ __________ _____ ______ __________.
_________ _______ __________ ____ _________ _________ _______ _____ _______ ___ _________.
_____ _________ ______ _______ ________ ___ ______ ___ ___ _________.
_________ _________ ___ _____ ________ ______ ____ ____ ____ ______ _____ ___.
_______ ______ ____ ___ ______ _____ ______ ________ _______.
______ ________ _______ _______ _________ ____ __________ ____ _______ ____ _______ ______.
_________ ____ _________ ________ ___ ___ __________ _____ ________.
____ ______ _________ ___ __________ ____ ______.
_____ ________ _______ ________ __________.
________ __________ _____ _________ ____ _______ _____ ___ _____ ______.
___ ______ _____ __________ ___ ___ ________ ___ ________ __________.
_______ ________ ________ _____ __________.
__________ _______ _____ __________ _________ ________ _____ ________ _________ ________ __________ ____.
_____ ____ _______ ________ ____ ______ ________ __________ ______.
______ ____ ______ ___ __________.
________ ________ _______ _____ ____ __________ ___.
______ _________ _______ ___ __________.
________ _______ _________ __________ ____.
________ ____ ________ ________ ____.
_______ ___ ___ _________ ____ ______ ____ ________ _________ ____ ____ __________.
_______ ______ _______ ____ __________ ________.
____ ______ __________ _____ _________ __________ _____ ______ _______ _____ _______.
_________ ___ _____ ___ __________.
___ _________ __________ ________ ______ ________ _______ ______ _______.
___ _______ _____ ____ _____.
___ __________ _______ _____ _______ ___ ____ _______ ____ __________ ____ _______.
_____ __________ _________ ________ _______ _______ ______ _____ _________ ______.
________ ___ ____ ______ ________ _______ _____ _________ _________ _______.
_______ __________ _________ ___ ________ ____ ___ ____ __________ _____ ______.
_________ ________ ____ _____ ____ __________.
___ ____ ___ ___ _____ ____ ____ _______ _______.
____ ______ __________ _________ ________ ________ _____ _____ ___.
_________ ________ ___ ___ ____.
______ ___ ______ __________ _______.
________ _________ ___ _____ _______ _____ ___ _________ ____ ___.
_____ ____ _________ _____ _______ ____.
__________ __________ ________ ____ _____ _________ _________ ______ _________ ___.
___ _________ ___ _______ _______ ____ ______.
__________ ______ ___ ___ __________ _________ ___ ______ _____ __________ __________.
____ _____ ________ _______ _______.
_______ ___ ________ _____ _____ _________ _________ _______ _____ __________ _____.
__________ ______ ______ _____ _____ ___ _____ ________.
_________ __________ _____ ______ ________.
_______ __________ _____ __________ _____ ____ ____ _____ ____ ____ ___.
____ ____ ____ ___ ________ ________ _____.
________ ______ ________ ______ __________.
_____ _________ __________ __________ ___ ___ ___.
___ ___ ___ ___ __________ _____ _________ ________ _______ ____ _______.
_____ __________ ______ ______ _______ ______ ______.
_______ ___ ___ _____ __________ ___ __________ _____.
_______ ___ ______ ______ ___ __________ ______ ___ ____.
______ ____ __________ _______ ___ _____ _______ ___ ___ __________ _________ _______.
_________ _____ ____ ___ _____.
_______ _______ ______ ______ ________ _________ ___ _____.
__________ _____ _______ _________ ______ _________ _________ ___ ______ _____ _____ ______.
_________ __________ ____ ________ __________ _________ _________ ____ ____.
________ __________ _________ ________ ___ _______ ____.
________ _________ ___ ________ _______.
______ ______ ______ _____ ______ _____ _______ ______ ___ ______ ___ ____.
_______ ________ ________ ________ _____ _____ ________.
___ ___ ___ ________ __________ ______ _____ ___ _________ ________.
_______ ____ __________ ___ ________ ______ _____.
______ ____ _________ ________ ______ ____ _________ _____ ___ ______ _______.
_______ _____ _________ ______ ______ _____ ______ ______ ______ _____ ____.
_____ ____ _________ _________ __________ ___ _______ ____.
__________ _____ ______ ________ _______ ___ _______.
_______ ____ _______ ______ ______ ________ ___ _______ __________.
_________ __________ _________ ___ ___ ______ _______ ________ ____ __________ ___ ________.
________ ______ ___ ___ _________ _________ ________ _________ ____.
_____ ______ _________ ________ _______ ______ _________ ___ _____.
________ _____ ________ ____ ______ ____.
______ _________ ____ ______ ____ _______.
_________ ____ ____ ___ ______ __________ _________ _________ __________.
______ ____ _________ ___ _____ __________.
_________ ____ __________ _________ __________ ____ __________.
______ ___ _______ ______ ________.
________ ______ __________ ___ _______ _____ _____ ______ ____ ________ ____.
___ ______ ________ _____ _________ ___.
_______ _____ ____ __________ __________ ____ ________ _____ _______ ______ ___ _______.
____ __________ _______ __________ ______ _____.
_______ _____ __________ __________ ____ __________ _________ _______.
__________ _________ _____ ____ ___ ____ _________ ______ _______ _______.
_____ _____ _______ _____ _______ __________ _________ ______.
_________ ___ _________ ______ __________ ________ ____ _____ ______ __________.
_________ __________ __________ _____ ___ __________ _________ _______.
__________ _________ _______ ________ _____ _____.
___ _________ ____.
- Solved Assignments
- Study Notes
- Guess Papers
- Question Papers
✓ Unlock up to 60% of the answer
✓ No payment required