| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Complex RDB Tables
Hi objectman
This is quite fundamental in relational design. It's called a many-to-many relationship. To be specific, a certain WorkOrder includes many Parts, vice versa, certain part appears in many WorkOrder.
Specifically, this relationship has to be "normalized" into 2 one-to-many relationship using Codd's normalization method. After being normalized, the mentioned relation will become 3 relations. BTW, relation is the way relational theory calls table.
and
3. WorkOrder_Part (WorkOrderID, PartID)
The primary key in (1) is WorkOrderID, (2) is PartID, and in (3) is WorkOrderID and PartID (a compound key)
Now tell me the reason why you're going back to relational :-)
Bien
![]() |
![]() |