Jump to content

Database Relationship?


ok

Recommended Posts

Ok here is the scenario.

 

This is tell a friend contest.

People can sign in and just tell their friend as many as they about a particular promo.

 

So for example if Joe tell his friend, anna and josephine.

He will have this record below.

 

joe

---------

anna

josephine

 

 

Then anna also invite his friend joey, jack, george and karen.

now anna have this table below,

 

anna

---------

joey

jack

george

karen

 

and vice versa.

 

but anna can't invite joe, since joe invited her already.

 

anyway what is the best Relational Database for this?

 

 

Thank you!

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/122191-database-relationship/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.