I have two product brand. For example:-
Product A - Nestle Brand (Table A)
Product B - Cadbury Brand (Table B)
I have an order table with the attributes:
-id
-orderNo
-foreign key reference to table A
-foreign key reference to table B
-quantity
-createdDate
The data base on the attribute above:
1,1001,1,null,20,20/12/2011
1,1001,null,1,20,20/12/2011
Does my design make sence?
Thank You.