database - Data modeling to indications like multi level marketing -


i'm building app should work indications in levels, eg:

antony add alex( alex = antony l1)  alex add john (john = antony l2 , alex l1)  john add bart (bart = antony l3, alex l2 , john l1)  bart add vanessa (vanessa = antony l4, alex l3, john l2 , bart l1)  vanessa add anna (anna = antony l5, alex l4, john l3, bart l2 , vanessa l1)  anna add kelly (kelly = alex l5, john l4, bart l3, vanessa l2 , anna l1) 

how can layout models, can me suggestions?


Comments

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -