Re: Please help, table design!
Posted by: Peter Brawley
Date: March 26, 2014 03:00PM

> My first table "members" contains member_id, company_name, contact_number and email address.

> I need to design a second table to contain the post codes they cover

You've not specified the relationship of members & companies. But companies often have multiple addresses, so at the very least you need ...

members(id,companyid,contactphone,email)
companies(companyid,name,...)
company_addresses(addressid,companyid, ...address columns..., postcode)
postcodes(...)

Options: ReplyQuote


Subject
Written By
Posted
March 26, 2014 02:43PM
Re: Please help, table design!
March 26, 2014 03:00PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.