View Single Post
Old 12-06-2012, 07:41 PM   PM User | #4
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,752
Thanks: 4
Thanked 2,468 Times in 2,437 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
Code:
+--------------+             +-----------------------+           +----------------+
| Developer    |             | ProjectDeveloper      |           | Project        |
+--------------+             +-----------------------+           +----------------+
| devid [PK]   |>+---------o<| projectid [PK][FK]    |>o-------+<| projectid [PK] |
+--------------+             | devid [PK][FK]        |           +----------------+
                             +-----------------------+
Simple as that. Associate two objects together in a manner which one relates directly to the other to create a valid tuple, and you have a many to many relation. Now you can join both project and developer against the projectdeveloper to get information from either or both.
Fou-Lu is offline   Reply With Quote