![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Regarding so-called "union compatibility",.suppose relations A and B with equal headings, say named h. Suppose non-empty relation U with only one attribute that is not in any other heading. value i): A Join B projected on h, D&D style = (A <AND> B) {h} ... |
#3
| |||
| |||
|
|
Regarding so-called "union compatibility",.suppose relations A and B with equal headings, say named h. Suppose non-empty relation U with only one attribute that is not in any other heading. value i): A Join B projected on h, D&D style = (A <AND> B) {h} value ii): A Union B (with unrestricted <OR> and Union restricted to equal headings) = {A <OR> B) Every tuple in A and every tuple in B is in value i), no tuple in A or B is not in value i), likewise for value ii). |
|
We could use the expression of value i) to "insert" to relvars, even define a union view. So what makes union different from projection of join? |
#4
| |||
| |||
|
|
"paul c" <toledobythesea (AT) oohay (DOT) ac> wrote in message news:YSWqm.43749$Db2.18298 (AT) edtnps83 (DOT) .. Regarding so-called "union compatibility",.suppose relations A and B with equal headings, say named h. Suppose non-empty relation U with only one attribute that is not in any other heading. value i): A Join B projected on h, D&D style = (A <AND> B) {h} value ii): A Union B (with unrestricted <OR> and Union restricted to equal headings) = {A <OR> B) Every tuple in A and every tuple in B is in value i), no tuple in A or B is not in value i), likewise for value ii). If A and B have the same heading, then you're wrong. Suppose that no tuple in A is also in B, then A Join B would be empty, as would A <AND> B <AND> U. .... |
![]() |
| Thread Tools | |
| Display Modes | |
| |