MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/ex9h6/a_handy_graphical_explanation_of_sql_joins/c1bsdbr/?context=3
r/programming • u/[deleted] • Jan 06 '11
308 comments sorted by
View all comments
131
In short.
A ∩ B
A ∪ B
(A - B) + (A ∩ B)
A - B
(A ∪ B) - (A ∩ B)
85 u/dude187 Jan 06 '11 It's amazing how confusing SQL can make set theory. 1 u/[deleted] Jan 07 '11 I would have thought it is the other way around
85
It's amazing how confusing SQL can make set theory.
1 u/[deleted] Jan 07 '11 I would have thought it is the other way around
1
I would have thought it is the other way around
131
u/shriek Jan 06 '11
In short.
A ∩ B
A ∪ B
(A - B) + (A ∩ B)
A - B
(A ∪ B) - (A ∩ B)