Professional Documents
Culture Documents
Supplier - TBL Supplier - TBL Supplier - TBL Supplier - TBL Shirt - Members - TBL
Supplier - TBL Supplier - TBL Supplier - TBL Supplier - TBL Shirt - Members - TBL
Supplier - TBL Supplier - TBL Supplier - TBL Supplier - TBL Shirt - Members - TBL
The
Supplier_
council orders the t-shirt on one of its supplier. The Supplier_tbl has an attribute of supplier
I.D as its primary key, name, contact number, and address.
Supplier_tbl
Supplier I.D *
Name
Contact Number
Address
Shirt_Members_tbl
Shirt-Members I.D *
Shirt I.D FK
Supplier I.D *
Members I.D FK
Shirt_Mem
Shirt_tbl consist of shirt I.D as its primary key and size as its attribute. Shirt is connected to
the council establishing a relationship of one to many but due to the relationship order which
Shirt-Mem
has an attribute, we establish another table establishing a many to many relationship.
Name Shirt_tbl
Shirt I.D *
Shirt I.D
Size
F
Contact Num
Members
Address
Order_tbl was created because the relationship order has an attribute. So we make another
entity and establish a many to many relationship connecting the shirt I.D, supplier I.D, and
Council I.D as its foreign key, the amount, payment and date of payment.
Order_tbl