Wednesday, March 18, 2009

Relationships

One to One: One wife can only have 1 Husband that makes it a 1 to 1 relationship. It also goes the other way around

Example: King and queen


One to many: Many players can only have 1 team this makes it a 1 to many relationship. It also goes the other way around.

Example: players to Basketball team


Many to many: the actors can have a big audiance, there are many peope on stage and many in the audiance, this makes it a many to many relationship. It also goes the other way around

Example: Audiance and the actors

No comments:

Post a Comment