Re: Why relational division is so uncommon?
Date: 27 Apr 2007 09:38:57 -0700
Message-ID: <1177691936.963082.35840_at_t39g2000prd.googlegroups.com>
On Apr 26, 6:45 pm, "V.J. Kumar" <vjkm..._at_gmail.com> wrote:
> My simple point is that you cannot talk about the set containment join if
> the relation attributes are not sets. You can say that the set
> containment join is similar to relational division but saying that it is
> the same thing would only confuse people.
> Some medical db developers
> represent a set of symptoms as a comma delimited string:
> "headache,nausea,fever". By doing that, they can express relational
> division more efficiently, in some cases, than with traditional well-
> known SQL queries.
> > PatientDecease(PatientName,DeceaseName) =
> > PatientSymptom(PatientName,SymptomName) /
> > DeceaseSymptom(SymptomName, DeceaseName)
One more point about this schema is normalization. I have a de ja vu of 5 NF generalized to accomodate set joins... Received on Fri Apr 27 2007 - 18:38:57 CEST