Suppose that schema T is a weak entity that is weakly related to S. This means that all rows of T must participate in the relationship.
Does this mean I have to use something to the effect of T outer left join S
or should it be S outer left join T
? I'm thinking it might be the first option, since this will essentially force all rows of T to be present.
But I'm also getting confused by this:
Wouldn't this mean there will be missing rows in S for those that doesn't match the rows in T? Isn't S supposed to be the dominant entity?
Also, if we choose the first option, since T is weakly related to S, wouldn't this cause
T outer left join S
to be to the effect of an inner join, since all attributes of T will lead to an existing entry in S?
On the other hand, if I use S outer left join T
, this seems correct as well as there wouldn't be rows of T that has empty S values, since T rows cannot exist without S values.
Hope to clarify my misconceptions about this topic.