1
I am developing a system for a Church. I have a table of registration of people, but I need to relate this table to itself. I want to list in this same table everyone who has some kinship and display a screen of families.
Next: Register in her 6 people being them: A
, B
, C
, D
, E
and F
. Suddenly, I find that the person B
is the person’s father E
. The person A
is sister-in-law of B
and cousin of C
. How do I relate this?
The idea is when I select a person, I can list all the people connected to it. Dad, Mom, cousins, ... the difference is they’re all on the same table.
What you’re looking for here is, padawan: How the relationship between the same table works . Duplicate your question is.
– ShutUpMagda
Possible duplicate of How the relationship between the same table works
– ShutUpMagda