| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: DBDesign Q
It is correct on an ERD, but incorrect in a relational schema.
"Andy" <net__space_at_hotmail.com> wrote in message
news:edb90340.0311232036.e0eeae5_at_posting.google.com...
> Can two entities have more than one relationship between them?
>
> A(A_ID PK,..., bID FK)
>
> B(B_ID PK,..., aID FK)
>
> A.bID refers to B.B_ID
> B.aID refers to A_ID
>
> 2. Does it make sense?
>
> Product (ProductID PK, Name,., SpecialAttrID FK)
>
> Attribute (AttrID PK, Name,..,ProductID FK)
>
> Product can have many attributes. One attribute belongs to only one
product.
> There is only one main("special") attribute for each product
>
> Thank you in advance,
> Andy
Received on Mon Nov 24 2003 - 12:12:34 CST
![]() |
![]() |