I am trying to create a database for a dog kennel. This is what I have
Pet Table
PetID (Primary key), name, gender, breed, age, weight, CustID (Foreign Key) to Customer table
Customer Table
CustID (Primary Key), name, address, phone number.
Pen Table
PetID & CustID (Composite Primary Key)
PetID (Foreign Key to Customer Table)
Pen ID (Foreign Key to Pet table)
Apparently, my relationships are wrong, because the pen table is suppose to allow for more than one pet. Any help would be appericated.
2007-02-09
05:29:49
·
4 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Programming & Design