2

Is the following scenario correct and why:

  • A and B are two entities
  • B is-a A
  • A is-a B

And what if A, B were relationship?

migrated from stackoverflow.com Jan 23 '17 at 23:36

This question came from our site for professional and enthusiast programmers.

2

In databases, subtyping means that one domain is a subset of another. If A is a subset of B and B is a subset of A, then it means A = B. The same logic applies whether A and B are entity sets or relationship sets. There would be no point distinguishing A and B in an ER model.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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