A
Amit
Hi,
I'm designing a database and tables, and could do with
some feedback regarding the optimal way to go about it.
It's a database to store information about organizations
which will be used to print a resource directory. So, I'm
not anticipating much data manipulation or queries, and
this will result in a straight-forward report to be used
as a directory.
Data
====
The information consists of Organization name, address,
contact information etc. Each organization can have:
1. Materials
2. Activities
There are 13 different kinds of Materials (eg. Books,
Research articles, Video, Slide presentation, Catalog,
Cookbook etc.) that an organization can check. Each kind
of material applies to one or more of the following:
a. Preschool
b. Chlidren
c. Teens
d. Adults
e. Seniors
Additionally, each material can be available in languages
other than English. One or more of them can be selected.
So, I need to capture that information (Spanish/Cape
Verdean/Chinese/Portuguese/Vietnamese).
Similarly for Activities.
===
It seems to me that there is a one-to-one relationship
between an Organization, and the information for it. Also,
most of the fields will be of check-box kind (Yes/No).
What I'm not sure about is whether I should have all this
information in one table (even if there is one-to-one
relationship), or have different tables--one for
Organization, second for Materials and kind of materials,
and a third for Activities and kind of activities, and
then include the uniqueID of the Organization in the other
two tables as foreign key.
Will appreciate any feedback and/or pointers regarding
this.
Thanks!
-Amit
I'm designing a database and tables, and could do with
some feedback regarding the optimal way to go about it.
It's a database to store information about organizations
which will be used to print a resource directory. So, I'm
not anticipating much data manipulation or queries, and
this will result in a straight-forward report to be used
as a directory.
Data
====
The information consists of Organization name, address,
contact information etc. Each organization can have:
1. Materials
2. Activities
There are 13 different kinds of Materials (eg. Books,
Research articles, Video, Slide presentation, Catalog,
Cookbook etc.) that an organization can check. Each kind
of material applies to one or more of the following:
a. Preschool
b. Chlidren
c. Teens
d. Adults
e. Seniors
Additionally, each material can be available in languages
other than English. One or more of them can be selected.
So, I need to capture that information (Spanish/Cape
Verdean/Chinese/Portuguese/Vietnamese).
Similarly for Activities.
===
It seems to me that there is a one-to-one relationship
between an Organization, and the information for it. Also,
most of the fields will be of check-box kind (Yes/No).
What I'm not sure about is whether I should have all this
information in one table (even if there is one-to-one
relationship), or have different tables--one for
Organization, second for Materials and kind of materials,
and a third for Activities and kind of activities, and
then include the uniqueID of the Organization in the other
two tables as foreign key.
Will appreciate any feedback and/or pointers regarding
this.
Thanks!
-Amit