Re: Database design
Hi,
I have a database problem if someone can provide some input
on my database design if it confirms w/ normalization rules at least the three normal forms.
Here is info/requirements of db:
An orchestra has four broad classes if instruments(strings, woodwinds, brass, and percussion). Each class contains musicians who play different instruments. For example, the string section of a full symphonic orchestra contains 2 harps, 16 - 18 first violins, 14 -16 second violins, 12 violas, 10 cellos, and 8 double basses. I need to develop a database to store details of the musicians in its three orchestras. All the musicians are specialists and play only one instrument for the orchestra.
I have five tables:
tblOrchestra: orchestra_id(PK), Name
1 A
2 B
3 C
tblClass: class_id(PK), description
1 strings
2 woodwinds
3 brass
4 percussion
tblinstruments: instru_id(PK), description,
1 harp
2 first violin
: :
tblmuscians: mus_id(PK), Name
1 Jack
2 John
3 Ann
tblmuscians_details:
mus_detail_id(PK), mus_id, orchestra_id, class_id, instru_id
1 1 1 1 1
2 2 1 1 2
: : : : :
Thanks for your input.
Hi,
I have a database problem if someone can provide some input
on my database design if it confirms w/ normalization rules at least the three normal forms.
Here is info/requirements of db:
An orchestra has four broad classes if instruments(strings, woodwinds, brass, and percussion). Each class contains musicians who play different instruments. For example, the string section of a full symphonic orchestra contains 2 harps, 16 - 18 first violins, 14 -16 second violins, 12 violas, 10 cellos, and 8 double basses. I need to develop a database to store details of the musicians in its three orchestras. All the musicians are specialists and play only one instrument for the orchestra.
I have five tables:
tblOrchestra: orchestra_id(PK), Name
1 A
2 B
3 C
tblClass: class_id(PK), description
1 strings
2 woodwinds
3 brass
4 percussion
tblinstruments: instru_id(PK), description,
1 harp
2 first violin
: :
tblmuscians: mus_id(PK), Name
1 Jack
2 John
3 Ann
tblmuscians_details:
mus_detail_id(PK), mus_id, orchestra_id, class_id, instru_id
1 1 1 1 1
2 2 1 1 2
: : : : :
Thanks for your input.