Re: normalization question

From: Bob Badour <bbadour_at_pei.sympatico.ca>
Date: Mon, 04 May 2009 20:09:46 -0300
Message-ID: <49ff75b3$0$23783$9a566e8b_at_news.aliant.net>


Philipp Post wrote:

> Here are the rules:
> 1) There are items, vendors, customers, and boxes.
> 2) Boxes contain items and are sent from one vendor to one customer
> on
> a specific date.
> 3) Items can only be sent once from each vendor to each customer
> ...
> Rule 3 states that items can be sent once from /each/ vendor to /each/
> customer, not once from /any one/ vendor to /any one/ customer. This
> means that item1 could be sent in a box from vendor1 to customer1 and
> that item1 could be sent in a different box from vendor1 to customer2.

Your problem statement is ambiguous. I could read it as meaning you have a single candidate key somewhere of the form {item,vendor,customer} or two keys somewhere of the form {item,vendor} and {item,customer}.

Design by usenet is a futile waste of time. Received on Tue May 05 2009 - 01:09:46 CEST

Original text of this message