Jump to content

Recommended Posts

Hi

 

I have a mysql database which is used to run a club website, but I am not quite sure how to set up some relationships.

 

I have a table called ' Members' containing all the members names etc.

 

The club has a number of committees and each member can belong to more than one committee.

 

Therefore I have created another table called 'Committees' listing all the different committee names.

 

Thats where I get stuck.  How do I associate the members with the committees.  What I intend to do is have a webpage for each commitee displaying all of the members whithin that committee.

 

Hope this is making sense.  If you need more info please just ask.

 

Many thanks

i suppose u wud b ving a memberID in ur 'Members' table and committeeID in ur 'Committee' table.

 

Have a join table like 'committee_members' that has 2 columns-memberID  & committeeID  .so this table wud store the mapping information.

 

hope tis helps..

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.