i hope everyone's thanksgiving was grand.
i have contacts, customers and employees that i want
to manage in a db application.
i can think of two ways to do this.
first, have a table for each and fill each with all
the relevant data:
second, have a contacts table that records data that
is repeated throughout each table (ie, name, address,
i could then have a t_employees table with a foreign
key to the t_contacts table id. this table would only
have employee related information and would link back
t_customers would do the same - list only customer
i think the latter way is the way to go, but i'm not
sure. i don't particularly like t_contacts as the
name of the general table. maybe i need to name it
anyway, i'd value the input of some more experienced
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
pgsql-novice by date
|Next:||From: Duncan Garland||Date: 2006-11-24 10:57:05|
|Subject: Re: Data (Table) Structure Question|
|Previous:||From: Sean Davis||Date: 2006-11-24 02:03:40|
|Subject: Re: How to execute a system command inside a SQL statement|