Relational Algebra - Cartesian Product vs Natural Join?

前端 未结 3 1880
被撕碎了的回忆
被撕碎了的回忆 2021-02-15 11:02

I am studying for exams and am failing to find a solid criteria by which I can determine if the Cartesian Product x is to be used or if Natural Join |X|

3条回答
  •  南旧
    南旧 (楼主)
    2021-02-15 11:07

    I think there are two extreme situation:

    1. there are no duplicate rows in inner join: inner join is equal to intersect (i mean only the result). distinct inner join ~ intersect

    2. there are no common feature in the inner join: inner join is equal to Cartesian product.

提交回复
热议问题