T
Titlepusher
I want to design a database which a Multi Level Marketing company would use.
Standard MLM format. Example: Member A recruits Members A1, A2 and A3.
Member A2 recruits Members A2A, A2B and A2C Member A2C recruits Members
A2Ca, A2Cb.... etc.
I anticipate setting it up so that each Member record in the Member table
will have to be linked to a Member who recruited them... I assume that
there should there be a second table which just links Member ID's... a
one-to-many.
My question is very general... Once I have the two tables... (master and
cross ref).. How to I query to show the entire tree of members (sub-members,
sub-sub members, etc..) under each member.. they can be 20 - 50 deep.
thanks,
tp
Standard MLM format. Example: Member A recruits Members A1, A2 and A3.
Member A2 recruits Members A2A, A2B and A2C Member A2C recruits Members
A2Ca, A2Cb.... etc.
I anticipate setting it up so that each Member record in the Member table
will have to be linked to a Member who recruited them... I assume that
there should there be a second table which just links Member ID's... a
one-to-many.
My question is very general... Once I have the two tables... (master and
cross ref).. How to I query to show the entire tree of members (sub-members,
sub-sub members, etc..) under each member.. they can be 20 - 50 deep.
thanks,
tp