Case: A system for small groups and clubs is to be set up online. Each of the clubs simply has a name and a number of members.
There are several types of membership. It is possible to join simply as a normal member, or you could be a president, secretary or any other member type.
One person can be a member of many different clubs, and have different membership types with each.
I need to design a simple database to hold the information relating to the clubs, users and the memberships held.
In order to have a normalised database, I have three tables – club, membership and members.
club – id, name
membership – id, name (normal, president, secretary, etc)
members – id, name, contactinfo, membership_id
I am not able sure how to make relation between these tables!
Just add a table similar to