If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Db structure for praise band scheduling

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-19-07, 17:28
smachalk smachalk is offline
Registered User
 
Join Date: May 2007
Posts: 2
Db structure for praise band scheduling

Hello and thank you for taking the time to read this.

I am trying to create a database for the Praise team at our Church and I can't decide on the best way to do it.

Basically, I will have a series of events and the musicians and instruments will change for each event. These events will have different mixes of instruments. Each musician could be proficient on more than one instrument also.

Any help is appreciated.

Thanks
Scott
Reply With Quote
  #2 (permalink)  
Old 05-20-07, 11:03
smachalk smachalk is offline
Registered User
 
Join Date: May 2007
Posts: 2
Of course...

Last night, about 2 hours after I posted this, the answer came to me.

Thanks,
Scott
Reply With Quote
  #3 (permalink)  
Old 05-21-07, 14:28
loquin loquin is offline
Super Moderator
 
Join Date: Jun 2004
Location: Arizona, USA
Posts: 1,797
Well, it appears that you have three entities.

Events
Musicians
Instruments

Each Event will be associated with one or more Musicians.
Each Musician will be associated with 0 or more Events.
A many-to-many relationship (using an intersection table) would support this requirement.

Each Musician will be associated with one or more Instruments
Each Instrument will be associated with 0 or more Musicians.
A many-to-many relationship (using an intersection table) would support this requirement.

So, one solution to model your requirements would consist of a table for each of the three entities, plus a table for each of the two many-to-many relationships.
__________________
Lou
使大吃一惊
"Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
"I have my standards. They may be low, but I have them!" - Bette Middler
"It's a book about a Spanish guy named Manual. You should read it." - Dilbert

Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On