Hi,
I have been trying and trying, but I can't get thru the basic first step for creating tables and it's relation. I read thru the book as well, but it doesn't help me either.
Here is what I will need, so if someone can help or guide me, that will be helpful:
1/ A list of member_id with first name and last name. I am able to do this, so I set primary key for the member_id for tbl_1.
2/ Each member_id is allow to choose many product. In the tbl_2, i have add "member_id", and "product_id". The primary should be "product_id"??
3/ Each product that was chose by the member, can have different fund with an allocation, so I have another tbl_3, which have "member_id", "product_id", "fund_id" and "allocation", but I cant get thru the primary id again.
4/ Each member then can choose multiple beneficiary, up to 10. In this case, I create another tbl_4 for beneficiary. I have in this table "member_id", "beneficiary??". How can I make that it can show each of the beneficiary with a last name and first name?
Thanks
I have been trying and trying, but I can't get thru the basic first step for creating tables and it's relation. I read thru the book as well, but it doesn't help me either.
Here is what I will need, so if someone can help or guide me, that will be helpful:
1/ A list of member_id with first name and last name. I am able to do this, so I set primary key for the member_id for tbl_1.
2/ Each member_id is allow to choose many product. In the tbl_2, i have add "member_id", and "product_id". The primary should be "product_id"??
3/ Each product that was chose by the member, can have different fund with an allocation, so I have another tbl_3, which have "member_id", "product_id", "fund_id" and "allocation", but I cant get thru the primary id again.
4/ Each member then can choose multiple beneficiary, up to 10. In this case, I create another tbl_4 for beneficiary. I have in this table "member_id", "beneficiary??". How can I make that it can show each of the beneficiary with a last name and first name?
Thanks