A theta join allows for arbitrary comparison relationships (such as ≥).
An equijoin is a theta join using the equality operator.
A natural join is an equijoin on attributes that have the same name in each relationship.
Additionally, a natural join removes the duplicate columns involved in the equality comparison so only 1 of each compared column remains; in rough relational algebraic terms:
? = πR,S-as ○ ?aR=aS
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…