Simple Design Question...I think

J

JJBJR

I have a people table and company table. Each person and each company can
have multiple telephone numbers. With respect to a telephone table(s), should
I have two tables, a people telephone table and a company telephone table; or
one table and have a 'Type' field to distinguish if its a people number of a
company number?

One point is that I do need to keep the order of the telephone numbers so
there is a notion of a primary number and secondary number...etc. One query I
will be needing is to pull only the primary number (if there is one) from the
telephone table in a Join with the people (or company) table. It worries me
how the Type field will be used with this type of Join.

Thanks for any input

JJBJr
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top