Question: In a pharmacy management system, there are three tables: Customer, Patient, Order, and Product. Customer contains these attributes (ID, Name, Address, Email, and phoneNumber). Order

In a pharmacy management system, there are three tables:

Customer, Patient, Order, and Product.

Customer contains these attributes (ID, Name, Address, Email, and phoneNumber).

Order contains these attributes (OrderId, Order_Date, TotalPayment )

Product contains these attributes (productID, Description, QuantityInStock, Price)

One Customer can make many orders. Order contains many products this relation is called OrderDeails that contain these attributes (orderID, productID, and quantity of each item in the order).

Draw the ER diagram of the above scenario.

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 Databases Questions!