In mysql, if you have 2 people that aren't "friends" with each other, but they are friends of friends of friends of friends, how would you go about finding how they are connected?
What if they are connected in more paths that one?
I was going to put a DB diagram on here. But it might not be the right design to answer this question.
I found this: Degrees of Separation Query But I'm not sure that answers the question?
Thanks!