0

Let's say I have an entity person which has an attribute Email. But the person can have more than one Email address. So I have to put this attribute into a separate table.

But what I do not understand in this situation: Is Email now an entity or an attribute? I would say entity, because it has its own table. But I would say attribute, because this is the only function of it.

1 Answer 1

3

Its has become its own Entity. You now have a 1:N relationship between Person and Email.

1
  • So an entity is not must not have attributes to be an entity?
    – Wotim
    Oct 16, 2015 at 4:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.