Draw an ER diagram and show the cardinality.
Customers submit orders for products. The identifier for an order is Order-ID, and another attribute is Order Date. A customer may submit any number of orders, but need not submit any orders. Each order is submitted by exactly one customer. The identifier for a customer is Customer ID. Other attributes include Customer_Name and Customer_Address.
Here we have 2 entity - Customer and Order. The primary key for Customer is CustomerID while primary key for Order is OrderID.
The relationship between Customer and Order is one to many.
The participation of Customer is zero or many which is indicated as --->0----
The participation of Order is one. It is indicated as
-----||-----
The relationship between them is called submit denotes in a rhombus shape.
The ER Diagram is
If you have any questions comment down and please? upvote thanks
Get Answers For Free
Most questions answered within 1 hours.