A
Albert D. Kallal
That makes sense. That way, my purchase info would be a second table,
Well, the purchase info should ONLY go in a 2nd table if there going to
be repeating data, or more then on "set" of purchase information. If each
dvd only have non repeating fields (purchase date, purchase amount etc),
then that belongs in the main table. There is ZERO reason to create
and maintain anther table for fields that simply attached to the DVD
and are not repeating values. So, as far as I can tell/guess based
on your information, those fields should be in the main table.
Yes, that sounds good to me....
Just keep in mind the two cases we have:
tblDVD will have a field (long number) that lest you enter the directors id.
This is not a one to many relational, but a simply field that looks up the
director value.
The 2nd case is the "many" actors. This is repeating data that belongs to
one record (is a classic one to many relationship).
So far with your given design, we have 3 tables......
and the actors a third, and the director table another as some films do
have more than one, and each director and actor are associated (usually)
with more than one film/title as it were.
Well, the purchase info should ONLY go in a 2nd table if there going to
be repeating data, or more then on "set" of purchase information. If each
dvd only have non repeating fields (purchase date, purchase amount etc),
then that belongs in the main table. There is ZERO reason to create
and maintain anther table for fields that simply attached to the DVD
and are not repeating values. So, as far as I can tell/guess based
on your information, those fields should be in the main table.
So I should be able to do this with only about three or four tables,
one of which will be huge, and the others relatively small.
Yes, that sounds good to me....
Just keep in mind the two cases we have:
tblDVD will have a field (long number) that lest you enter the directors id.
This is not a one to many relational, but a simply field that looks up the
director value.
The 2nd case is the "many" actors. This is repeating data that belongs to
one record (is a classic one to many relationship).
So far with your given design, we have 3 tables......