Question: Entities With Common Attributes
Date: Wed, 4 Apr 2001 05:20:50 +0100
Message-ID: <9ae7f8$pju$1_at_newsg1.svr.pol.co.uk>
Thanks in advance for any suggestions offered:
All right, I *thought* I understood database modelling and SQL, until the
following arose:
What is the "accepted way" of handling something like this ?
A database model for a company sales obviously contains an entity "customer"
But, in this case, there are 2 types of customer - "businesses" and
"individuals"
eg: something like:
Individual-Customer
Customer-number
Business-Customer
So, the customer-number is the only attribute common to both types of
customer
Different attributes are recorded for each type
Name
Phone-no
Driving-Licence-number
Customer-number
Business-name
Business-type
phone-no
fax-no
I'm probably missing something very obvious here... Could someone give me a hint as to what it is ?
novice SQL-er ( still learning ) Received on Wed Apr 04 2001 - 06:20:50 CEST