Display, for each individual, how many
brothers and sisters he(she) has.
Links
between tables
SQL query
The kind " brother or sister " will be
determined by the attribute "sex" for the individuals who play the role
of brothers or sisters of the individual of reference.
We can see, in the result of the query, that the individual number 1
has two sisters (sex F) and that the individual number 7 has a brother
(sex H) and a sister (sex F).