Re: atomic
From: Bob Badour <bbadour_at_pei.sympatico.ca>
Date: Mon, 05 Nov 2007 22:40:41 -0400
Message-ID: <472fd42f$0$14860$9a566e8b_at_news.aliant.net>
>
> I think it would have 20!
Date: Mon, 05 Nov 2007 22:40:41 -0400
Message-ID: <472fd42f$0$14860$9a566e8b_at_news.aliant.net>
paul c wrote:
>> paul c wrote: >> >>> paul c wrote: >>> ... >>> >>>> if those make sense, by the D&D definition of "cartesian product", I >>>> think r1 |x| r2 would be empty and I presume so would I(r1 |x| r2). >>> >>> Sorry, let me take that back, I think I should have said >>> intersection, not cartesian product. >> >> The join is empty. The intersection is empty. If one renamed one of >> the "car" attributes to something else, the join would have 4 rows.
>
> I think it would have 20!
r1:
Name Car
----------- ------------
{bill} {car1,car2,car4}
{john,fred} {car3}
r2:
Car Colour
---------------- --------- {car1,car3,car4} {red} {car2} {green}