开发者

Different way of writing intersection in relational algebra

开发者 https://www.devze.com 2023-02-05 04:11 出处:网络
U开发者_StackOverflow社区sing basic operators, derive the additional operator intersection. R ∩ S = ?

U开发者_StackOverflow社区sing basic operators, derive the additional operator intersection.

R ∩ S = ?

I thought it might be: (R ∪ S) - ((R -S) ∪ (S -R)) but I also think there might be an easier way of doing it?


A intersected with B is equal to A - (A - B) or equivalenty B - (B - A)


R ∩ S is also equal to ~( (~R) ∪ (~S) )

where ~A is the complement of A

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号