I have this simplified table:
The business states that anyone with a role_id
of 3
needs to have a leader_id
, while anyone with any other value for role_id
should not have a leader_id
(null
).
By knowing the value of leader_id
we now narrow down the possible values for role_id
. Have I unwillingly created a transitive dependency between leader_id
and role_id
?