Why is a UNION operation independent in relational algebra? - MathOverflow most recent 30 from http://mathoverflow.net2013-05-25T07:29:33Zhttp://mathoverflow.net/feeds/question/112004http://www.creativecommons.org/licenses/by-nc/2.5/rdfhttp://mathoverflow.net/questions/112004/why-is-a-union-operation-independent-in-relational-algebraWhy is a UNION operation independent in relational algebra?mariuszmm32012-11-10T17:49:15Z2012-11-12T06:26:06Z
<p>Why is a set union operation independent in relational algebra? Why it cannot by expressed by the other four basic operations (selection, projection, cartesian product and difference)? What kind of queries require set union?</p>
http://mathoverflow.net/questions/112004/why-is-a-union-operation-independent-in-relational-algebra/112148#112148Answer by Carl Feynman for Why is a UNION operation independent in relational algebra?Carl Feynman2012-11-12T06:26:06Z2012-11-12T06:26:06Z<p>The other operations you list all have the property that they cannot map two values appearing in different columns of their input relations into the same column. Clearly this property is preserved by function composition. But UNION does allow mapping values into the same column, so it cannot be constucted by compositions of the other operations.</p>