Question: Database lab activity Designing ERD Design Entity - Relationship Diagram ( ERD ) for a food company system. This company captures key members such as

Database lab activity
Designing ERD
Design Entity-Relationship Diagram (ERD) for a food company system. This company captures key members such as products (food items), categories, suppliers, customers, orders, and order details, as well as their relationships.|
The system keeps the following information:
Product (Food Item) Product_ID, Product_Name, Description, Price, Stock_Quantity. A product belongs to one category and is supplied by one supplier.
Category Category_ID, Category_Name, Description and category can have multiple products, but each product belongs to one category.
Supplier Supplier_ID, Supplier_Name, Contact_Info, Address. A supplier can supply multiple products, but each product is supplied by one supplier.
Customer Customer_ID, First_Name, Last_Name, Email, Phone, Address. A customer can place multiple orders
Order Order_ID, Order_Date, Total_Amount, Shipping_Address, Order_Status. An order is placed by one customer but can contain multiple products.
OrderDetails (Associative Entity between Order and Product). OrderDetail_ID (Primary Key), Order_ID, Product_ID, Quantity, Price_At_Time_Of_Order This resolves the many-to-many relationship between orders and products by tracking which products are ordered and in what quantity.
Database lab activity Designing ERD Design Entity

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!