
here is a graphical representation of my partial database. BrandNo is the primary key in the Suppliar table, which is used as a foreign key in others.
In the LotDetails table, I need BrandName as a foreign key. That sounds absurd, as I can do either
- One primary key OR
- Component key
to be used as a foreign key.
I know that I can use BrandNo as a foreign key and Display BrandName, but for the KNOWLEDGE (and yes EASE of the course) I want to know what
Can two table attributes be used as foreign keys separately in different tables?
Editted
BrandNo is only a serial number, and the brand name can be the name of any brand. BrandNo is required in 4 tables, as shown, while BrandName is required in only one table. Thanks!
source share