I have a problem, it is as follows:
An internet store wants to send e-mails to customers. It wants to keep a database to record what messages have been sent to which customer. Suppose an e-mail has a message id (M-id), a subject (Subject), and message body (Body). The customer is identified by his e-mail address, other customer information includes name (Name), gender (Gender), and address (Address).
When the internet store sends an email to the customer, SendDate is recorded.
Now we're suppposed to draw an ERD with the information given above and then draw a relational database schema.
Based on the bold statement, I drew the following ERD, not knowing what to do with cardinality and participation:
The answer to the problem is this:
Note that Send is a weak entity, and that there is full participation between email and contains, sends and customer.
Q1: Why can't I use a ternary relationship for this example?
Q2: Regardless of this problem, in a ternary relationship, how do we determine the cardinality and participation?
Q3: How does one arrive to the final answer?