Avatar of tim_Burgess
tim_Burgess
 asked on

MSSQL - Grouping personal relationships into family groups

i have a table which has a number of relationships between family members. I want to know if its possible to group them into family groups using this dataset.

fig 1. is the sample data
fig 2. is the type of output i'd like

is this possible using sql syntax?

thankyou
sample-data-20181026.xlsx
Microsoft SQL ServerSQL

Avatar of undefined
Last Comment
tim_Burgess

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Sharath S

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
tim_Burgess

ASKER
Fantastic! Thankyou
Your help has saved me hundreds of hours of internet surfing.
fblack61